Lines Matching refs:cfg
110 #define wl_to_p2p_bss_ndev(cfg, type) ((cfg)->p2p->bss[type].dev) argument
111 #define wl_to_p2p_bss_bssidx(cfg, type) ((cfg)->p2p->bss[type].bssidx) argument
112 #define wl_to_p2p_bss_macaddr(cfg, type) &((cfg)->p2p->bss[type].mac_addr) argument
113 #define wl_to_p2p_bss_saved_ie(cfg, type) ((cfg)->p2p->bss[type].saved_ie) argument
114 #define wl_to_p2p_bss_private(cfg, type) ((cfg)->p2p->bss[type].private_data) argument
115 #define wl_to_p2p_bss(cfg, type) ((cfg)->p2p->bss[type]) argument
116 #define wl_get_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
117 test_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
118 #define wl_set_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
119 set_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
120 #define wl_clr_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
121 clear_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
122 #define wl_chg_p2p_status(cfg, stat) ((!(cfg)->p2p_supported) ? 0 : \ argument
123 change_bit(WLP2P_STATUS_ ## stat, &(cfg)->p2p->status))
124 #define p2p_on(cfg) ((cfg)->p2p->on) argument
125 #define p2p_scan(cfg) ((cfg)->p2p->scan) argument
126 #define p2p_is_on(cfg) ((cfg)->p2p && (cfg)->p2p->on) argument
214 init_timer_compat(timer, func, cfg); \
293 wl_cfgp2p_init_priv(struct bcm_cfg80211 *cfg);
295 wl_cfgp2p_deinit_priv(struct bcm_cfg80211 *cfg);
297 wl_cfgp2p_set_firm_p2p(struct bcm_cfg80211 *cfg);
299 wl_cfgp2p_set_p2p_mode(struct bcm_cfg80211 *cfg, u8 mode,
302 wl_cfgp2p_ifadd(struct bcm_cfg80211 *cfg, struct ether_addr *mac, u8 if_type,
305 wl_cfgp2p_ifdisable(struct bcm_cfg80211 *cfg, struct ether_addr *mac);
307 wl_cfgp2p_ifdel(struct bcm_cfg80211 *cfg, struct ether_addr *mac);
309 wl_cfgp2p_ifchange(struct bcm_cfg80211 *cfg, struct ether_addr *mac, u8 if_type,
313 wl_cfgp2p_ifidx(struct bcm_cfg80211 *cfg, struct ether_addr *mac, s32 *index);
316 wl_cfgp2p_init_discovery(struct bcm_cfg80211 *cfg);
318 wl_cfgp2p_enable_discovery(struct bcm_cfg80211 *cfg, struct net_device *dev, const u8 *ie,
321 wl_cfgp2p_disable_discovery(struct bcm_cfg80211 *cfg);
323 wl_cfgp2p_escan(struct bcm_cfg80211 *cfg, struct net_device *dev, u16 active, u32 num_chans,
329 wl_cfgp2p_act_frm_search(struct bcm_cfg80211 *cfg, struct net_device *ndev,
344 wl_cfgp2p_set_management_ie(struct bcm_cfg80211 *cfg, struct net_device *ndev, s32 bssidx,
347 wl_cfgp2p_clear_management_ie(struct bcm_cfg80211 *cfg, s32 bssidx);
350 wl_cfgp2p_find_ndev(struct bcm_cfg80211 *cfg, s32 bssidx);
352 wl_cfgp2p_find_type(struct bcm_cfg80211 *cfg, s32 bssidx, s32 *type);
355 wl_cfgp2p_listen_complete(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgdev,
358 wl_cfgp2p_discover_listen(struct bcm_cfg80211 *cfg, s32 channel, u32 duration_ms);
361 wl_cfgp2p_discover_enable_search(struct bcm_cfg80211 *cfg, u8 enable);
364 wl_cfgp2p_action_tx_complete(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgdev,
368 wl_cfgp2p_tx_action_frame(struct bcm_cfg80211 *cfg, struct net_device *dev,
372 wl_cfgp2p_generate_bss_mac(struct bcm_cfg80211 *cfg, struct ether_addr *primary_addr);
378 wl_cfgp2p_supported(struct bcm_cfg80211 *cfg, struct net_device *ndev);
381 wl_cfgp2p_down(struct bcm_cfg80211 *cfg);
384 wl_cfgp2p_set_p2p_noa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
387 wl_cfgp2p_get_p2p_noa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
390 wl_cfgp2p_set_p2p_ps(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
393 wl_cfgp2p_set_p2p_ecsa(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
396 wl_cfgp2p_increase_p2p_bw(struct bcm_cfg80211 *cfg, struct net_device *ndev, char* buf, int len);
408 wl_cfgp2p_register_ndev(struct bcm_cfg80211 *cfg);
411 wl_cfgp2p_unregister_ndev(struct bcm_cfg80211 *cfg);
417 wl_cfgp2p_vndr_ie(struct bcm_cfg80211 *cfg, u8 *iebuf, s32 pktflag,
420 extern int wl_cfgp2p_get_conn_idx(struct bcm_cfg80211 *cfg);
423 int wl_cfg_multip2p_operational(struct bcm_cfg80211 *cfg);
426 int wl_cfgp2p_vif_created(struct bcm_cfg80211 *cfg);
430 wl_cfgp2p_add_p2p_disc_if(struct bcm_cfg80211 *cfg);
439 wl_cfgp2p_del_p2p_disc_if(struct wireless_dev *wdev, struct bcm_cfg80211 *cfg);
444 wl_cfgp2p_need_wait_actfrmae(struct bcm_cfg80211 *cfg, void *frame, u32 frame_len, bool tx);