Home
last modified time | relevance | path

Searched refs:bss_cfg (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c159 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_ht_params() argument
170 memcpy(&bss_cfg->ht_cap, ht_ie + 2, in mwifiex_set_ht_params()
174 memset(&bss_cfg->ht_cap, 0, sizeof(struct ieee80211_ht_cap)); in mwifiex_set_ht_params()
175 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params()
176 bss_cfg->ht_cap.ampdu_params_info = MWIFIEX_DEF_AMPDU; in mwifiex_set_ht_params()
186 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_vht_params() argument
194 memcpy(&bss_cfg->vht_cap, vht_ie + 2, in mwifiex_set_vht_params()
208 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_tpc_params() argument
216 bss_cfg->power_constraint = *(tpc_ie + 2); in mwifiex_set_tpc_params()
218 bss_cfg->power_constraint = 0; in mwifiex_set_tpc_params()
[all …]
H A D11h.c283 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_dfs_chan_sw_work_queue() local
289 bss_cfg = &priv->bss_cfg; in mwifiex_dfs_chan_sw_work_queue()
290 if (!bss_cfg->beacon_period) { in mwifiex_dfs_chan_sw_work_queue()
296 mwifiex_uap_set_channel(priv, bss_cfg, priv->dfs_chandef); in mwifiex_dfs_chan_sw_work_queue()
298 if (mwifiex_config_start_uap(priv, bss_cfg)) { in mwifiex_dfs_chan_sw_work_queue()
H A Dcfg80211.c723 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_cfg80211_set_wiphy_params() local
736 bss_cfg = kzalloc(sizeof(*bss_cfg), GFP_KERNEL); in mwifiex_cfg80211_set_wiphy_params()
737 if (!bss_cfg) in mwifiex_cfg80211_set_wiphy_params()
740 mwifiex_set_sys_config_invalid_data(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
743 bss_cfg->rts_threshold = wiphy->rts_threshold; in mwifiex_cfg80211_set_wiphy_params()
745 bss_cfg->frag_threshold = wiphy->frag_threshold; in mwifiex_cfg80211_set_wiphy_params()
747 bss_cfg->retry_limit = wiphy->retry_long; in mwifiex_cfg80211_set_wiphy_params()
751 UAP_BSS_PARAMS_I, bss_cfg, in mwifiex_cfg80211_set_wiphy_params()
754 kfree(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
1939 memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_stop_ap()
[all …]
H A Dmain.h678 struct mwifiex_uap_bss_param bss_cfg; member
1230 struct mwifiex_uap_bss_param *bss_cfg,
1233 struct mwifiex_uap_bss_param *bss_cfg,
1236 struct mwifiex_uap_bss_param *bss_cfg,
1238 void mwifiex_set_uap_rates(struct mwifiex_uap_bss_param *bss_cfg,
1245 struct mwifiex_uap_bss_param *bss_cfg,
1583 struct mwifiex_uap_bss_param *bss_cfg,
1586 struct mwifiex_uap_bss_param *bss_cfg);
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_uap_cfg80211.c783 static void woal_set_uap_rates(moal_private *priv, mlan_uap_bss_param *bss_cfg, in woal_set_uap_rates() argument
796 memset(bss_cfg->rates, 0, sizeof(bss_cfg->rates)); in woal_set_uap_rates()
797 moal_memcpy_ext(priv->phandle, bss_cfg->rates, rate_ie + 1, in woal_set_uap_rates()
798 rate_ie->len, sizeof(bss_cfg->rates)); in woal_set_uap_rates()
799 rate_len = MIN(rate_ie->len, sizeof(bss_cfg->rates)); in woal_set_uap_rates()
804 moal_memcpy_ext(priv->phandle, &bss_cfg->rates[rate_len], in woal_set_uap_rates()
806 sizeof(bss_cfg->rates) - rate_len); in woal_set_uap_rates()
808 (sizeof(bss_cfg->rates) - rate_len)); in woal_set_uap_rates()
810 DBG_HEXDUMP(MCMD_D, "rates", bss_cfg->rates, sizeof(bss_cfg->rates)); in woal_set_uap_rates()
3655 mlan_uap_bss_param *bss_cfg = NULL; in woal_cfg80211_channel_switch() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_uap_cfg80211.c3001 mlan_uap_bss_param *bss_cfg = NULL; in woal_cfg80211_channel_switch() local
3025 bss_cfg = kzalloc(sizeof(mlan_uap_bss_param), GFP_ATOMIC); in woal_cfg80211_channel_switch()
3026 if (!bss_cfg) { in woal_cfg80211_channel_switch()
3053 bss_cfg)) { in woal_cfg80211_channel_switch()
3058 chsw_msec = params->count * bss_cfg->beacon_period; in woal_cfg80211_channel_switch()
3063 kfree(bss_cfg); in woal_cfg80211_channel_switch()