Commit 02030eb6 authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville

brcmfmac: change struct brcmf_cfg80211_priv comments to kernel-doc

Small step to fix structure commenting using kernel-doc syntax.
Reviewed-by: default avatarHante Meuleman <meuleman@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6385df2d
...@@ -376,51 +376,87 @@ struct brcmf_pno_scanresults_le { ...@@ -376,51 +376,87 @@ struct brcmf_pno_scanresults_le {
__le32 count; __le32 count;
}; };
/* dongle private data of cfg80211 interface */ /**
* struct brcmf_cfg80211_priv - dongle private data of cfg80211 interface
*
* @wdev: representing wl cfg80211 device.
* @conf: dongle configuration.
* @scan_request: cfg80211 scan request object.
* @el: main event loop.
* @evt_q_list: used for event queue.
* @evt_q_lock: for event queue synchronization.
* @usr_sync: mainly for dongle up/down synchronization.
* @bss_list: bss_list holding scanned ap information.
* @scan_results: results of the last scan.
* @scan_req_int: internal scan request object.
* @bss_info: bss information for cfg80211 layer.
* @ie: information element object for internal purpose.
* @profile: holding dongle profile.
* @iscan: iscan controller information.
* @conn_info: association info.
* @pmk_list: wpa2 pmk list.
* @event_work: event handler work struct.
* @status: current dongle status.
* @pub: common driver information.
* @channel: current channel.
* @iscan_on: iscan on/off switch.
* @iscan_kickstart: indicate iscan already started.
* @active_scan: current scan mode.
* @sched_escan: e-scan for scheduled scan support running.
* @ibss_starter: indicates this sta is ibss starter.
* @link_up: link/connection up flag.
* @pwr_save: indicate whether dongle to support power save mode.
* @dongle_up: indicate whether dongle up or not.
* @roam_on: on/off switch for dongle self-roaming.
* @scan_tried: indicates if first scan attempted.
* @dcmd_buf: dcmd buffer.
* @extra_buf: mainly to grab assoc information.
* @debugfsdir: debugfs folder for this device.
* @escan_on: escan on/off switch.
* @escan_info: escan information.
* @escan_timeout: Timer for catch scan timeout.
* @escan_timeout_work: scan timeout worker.
* @escan_ioctl_buf: dongle command buffer for escan commands.
* @ci: used to link this structure to netdev private data.
*/
struct brcmf_cfg80211_priv { struct brcmf_cfg80211_priv {
struct wireless_dev *wdev; /* representing wl cfg80211 device */ struct wireless_dev *wdev;
struct brcmf_cfg80211_conf *conf; /* dongle configuration */ struct brcmf_cfg80211_conf *conf;
struct cfg80211_scan_request *scan_request; /* scan request struct cfg80211_scan_request *scan_request;
object */ struct brcmf_cfg80211_event_loop el;
struct brcmf_cfg80211_event_loop el; /* main event loop */ struct list_head evt_q_list;
struct list_head evt_q_list; /* used for event queue */ spinlock_t evt_q_lock;
spinlock_t evt_q_lock; /* for event queue synchronization */ struct mutex usr_sync;
struct mutex usr_sync; /* maily for dongle up/down synchronization */ struct brcmf_scan_results *bss_list;
struct brcmf_scan_results *bss_list; /* bss_list holding scanned
ap information */
struct brcmf_scan_results *scan_results; struct brcmf_scan_results *scan_results;
struct brcmf_cfg80211_scan_req *scan_req_int; /* scan request object struct brcmf_cfg80211_scan_req *scan_req_int;
for internal purpose */ struct wl_cfg80211_bss_info *bss_info;
struct wl_cfg80211_bss_info *bss_info; /* bss information for struct brcmf_cfg80211_ie ie;
cfg80211 layer */ struct brcmf_cfg80211_profile *profile;
struct brcmf_cfg80211_ie ie; /* information element object for struct brcmf_cfg80211_iscan_ctrl *iscan;
internal purpose */ struct brcmf_cfg80211_connect_info conn_info;
struct brcmf_cfg80211_profile *profile; /* holding dongle profile */ struct brcmf_cfg80211_pmk_list *pmk_list;
struct brcmf_cfg80211_iscan_ctrl *iscan; /* iscan controller */ struct work_struct event_work;
struct brcmf_cfg80211_connect_info conn_info; /* association info */ unsigned long status;
struct brcmf_cfg80211_pmk_list *pmk_list; /* wpa2 pmk list */
struct work_struct event_work; /* event handler work struct */
unsigned long status; /* current dongle status */
void *pub; void *pub;
u32 channel; /* current channel */ u32 channel;
bool iscan_on; /* iscan on/off switch */ bool iscan_on;
bool iscan_kickstart; /* indicate iscan already started */ bool iscan_kickstart;
bool active_scan; /* current scan mode */ bool active_scan;
bool sched_escan; /* e-scan for scheduled scan support running */ bool sched_escan;
bool ibss_starter; /* indicates this sta is ibss starter */ bool ibss_starter;
bool link_up; /* link/connection up flag */ bool link_up;
bool pwr_save; /* indicate whether dongle to support bool pwr_save;
power save mode */ bool dongle_up;
bool dongle_up; /* indicate whether dongle up or not */ bool roam_on;
bool roam_on; /* on/off switch for dongle self-roaming */ bool scan_tried;
bool scan_tried; /* indicates if first scan attempted */ u8 *dcmd_buf;
u8 *dcmd_buf; /* dcmd buffer */ u8 *extra_buf;
u8 *extra_buf; /* maily to grab assoc information */
struct dentry *debugfsdir; struct dentry *debugfsdir;
bool escan_on; /* escan on/off switch */ bool escan_on;
struct escan_info escan_info; /* escan information */ struct escan_info escan_info;
struct timer_list escan_timeout; /* Timer for catch scan timeout */ struct timer_list escan_timeout;
struct work_struct escan_timeout_work; /* scan timeout worker */ struct work_struct escan_timeout_work;
u8 *escan_ioctl_buf; u8 *escan_ioctl_buf;
u8 ci[0] __aligned(NETDEV_ALIGN); u8 ci[0] __aligned(NETDEV_ALIGN);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment