Lines Matching refs:cfg
118 #define wl_to_p2p_bss_ndev(cfg, type) ((cfg)->p2p->bss[type].dev) argument
119 #define wl_to_p2p_bss_bssidx(cfg, type) ((cfg)->p2p->bss[type].bssidx) argument
120 #define wl_to_p2p_bss_macaddr(cfg, type) &((cfg)->p2p->bss[type].mac_addr) argument
121 #define wl_to_p2p_bss_saved_ie(cfg, type) ((cfg)->p2p->bss[type].saved_ie) argument
122 #define wl_to_p2p_bss_private(cfg, type) ((cfg)->p2p->bss[type].private_data) argument
123 #define wl_to_p2p_bss(cfg, type) ((cfg)->p2p->bss[type]) argument
124 #define wl_get_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
125 test_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
126 #define wl_set_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
127 set_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
128 #define wl_clr_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
129 clear_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
130 #define wl_chg_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
131 change_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
132 #define p2p_on(cfg) ((cfg)->p2p->on) argument
133 #define p2p_scan(cfg) ((cfg)->p2p->scan) argument
134 #define p2p_is_on(cfg) ((cfg)->p2p && (cfg)->p2p->on) argument
210 init_timer_compat(timer, func, cfg); \
273 wl_cfgp2p_init_priv(struct bcm_cfg80211 *cfg);
275 wl_cfgp2p_deinit_priv(struct bcm_cfg80211 *cfg);
277 wl_cfgp2p_set_firm_p2p(struct bcm_cfg80211 *cfg);
279 wl_cfgp2p_set_p2p_mode(struct bcm_cfg80211 *cfg, u8 mode,
282 wl_cfgp2p_ifadd(struct bcm_cfg80211 *cfg, struct ether_addr *mac, u8 if_type,
285 wl_cfgp2p_ifdisable(struct bcm_cfg80211 *cfg, struct ether_addr *mac);
287 wl_cfgp2p_ifdel(struct bcm_cfg80211 *cfg, struct ether_addr *mac);
289 wl_cfgp2p_ifchange(struct bcm_cfg80211 *cfg, struct ether_addr *mac, u8 if_type,
293 wl_cfgp2p_ifidx(struct bcm_cfg80211 *cfg, struct ether_addr *mac, s32 *index);
296 wl_cfgp2p_init_discovery(struct bcm_cfg80211 *cfg);
298 wl_cfgp2p_enable_discovery(struct bcm_cfg80211 *cfg, struct net_device *dev, const u8 *ie,
301 wl_cfgp2p_disable_discovery(struct bcm_cfg80211 *cfg);
303 wl_cfgp2p_escan(struct bcm_cfg80211 *cfg, struct net_device *dev, u16 active, u32 num_chans,
309 wl_cfgp2p_act_frm_search(struct bcm_cfg80211 *cfg, struct net_device *ndev,
324 wl_cfgp2p_set_management_ie(struct bcm_cfg80211 *cfg, struct net_device *ndev, s32 bssidx,
327 wl_cfgp2p_clear_management_ie(struct bcm_cfg80211 *cfg, s32 bssidx);
330 wl_cfgp2p_find_ndev(struct bcm_cfg80211 *cfg, s32 bssidx);
332 wl_cfgp2p_find_type(struct bcm_cfg80211 *cfg, s32 bssidx, s32 *type);
335 wl_cfgp2p_listen_complete(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgdev,
338 wl_cfgp2p_discover_listen(struct bcm_cfg80211 *cfg, s32 channel, u32 duration_ms);
341 wl_cfgp2p_discover_enable_search(struct bcm_cfg80211 *cfg, u8 enable);
344 wl_cfgp2p_action_tx_complete(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgdev,
348 wl_cfgp2p_tx_action_frame(struct bcm_cfg80211 *cfg, struct net_device *dev,
352 wl_cfgp2p_generate_bss_mac(struct bcm_cfg80211 *cfg, struct ether_addr *primary_addr);
358 wl_cfgp2p_supported(struct bcm_cfg80211 *cfg, struct net_device *ndev);
361 wl_cfgp2p_down(struct bcm_cfg80211 *cfg);
364 wl_cfgp2p_set_p2p_noa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
367 wl_cfgp2p_get_p2p_noa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
370 wl_cfgp2p_set_p2p_ps(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
373 wl_cfgp2p_set_p2p_ecsa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
376 wl_cfgp2p_increase_p2p_bw(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
388 wl_cfgp2p_register_ndev(struct bcm_cfg80211 *cfg);
391 wl_cfgp2p_unregister_ndev(struct bcm_cfg80211 *cfg);
397 wl_cfgp2p_vndr_ie(struct bcm_cfg80211 *cfg, u8 *iebuf, s32 pktflag,
400 extern int wl_cfgp2p_get_conn_idx(struct bcm_cfg80211 *cfg);
403 int wl_cfg_multip2p_operational(struct bcm_cfg80211 *cfg);
406 int wl_cfgp2p_vif_created(struct bcm_cfg80211 *cfg);
410 wl_cfgp2p_add_p2p_disc_if(struct bcm_cfg80211 *cfg);
419 wl_cfgp2p_del_p2p_disc_if(struct wireless_dev *wdev, struct bcm_cfg80211 *cfg);
424 wl_cfgp2p_need_wait_actfrmae(struct bcm_cfg80211 *cfg, void *frame, u32 frame_len, bool tx);