Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c143 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_ht_params() argument
154 memcpy(&bss_cfg->ht_cap, ht_ie + 2, in mwifiex_set_ht_params()
158 memset(&bss_cfg->ht_cap, 0, sizeof(struct ieee80211_ht_cap)); in mwifiex_set_ht_params()
159 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params()
160 bss_cfg->ht_cap.ampdu_params_info = MWIFIEX_DEF_AMPDU; in mwifiex_set_ht_params()
170 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_vht_params() argument
178 memcpy(&bss_cfg->vht_cap, vht_ie + 2, in mwifiex_set_vht_params()
192 struct mwifiex_uap_bss_param *bss_cfg, in mwifiex_set_tpc_params() argument
200 bss_cfg->power_constraint = *(tpc_ie + 2); in mwifiex_set_tpc_params()
202 bss_cfg->power_constraint = 0; in mwifiex_set_tpc_params()
[all …]
H A D11h.c268 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_dfs_chan_sw_work_queue() local
274 bss_cfg = &priv->bss_cfg; in mwifiex_dfs_chan_sw_work_queue()
275 if (!bss_cfg->beacon_period) { in mwifiex_dfs_chan_sw_work_queue()
281 mwifiex_uap_set_channel(priv, bss_cfg, priv->dfs_chandef); in mwifiex_dfs_chan_sw_work_queue()
283 if (mwifiex_config_start_uap(priv, bss_cfg)) { in mwifiex_dfs_chan_sw_work_queue()
H A Dcfg80211.c745 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_cfg80211_set_wiphy_params() local
758 bss_cfg = kzalloc_obj(*bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
759 if (!bss_cfg) in mwifiex_cfg80211_set_wiphy_params()
762 mwifiex_set_sys_config_invalid_data(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
765 bss_cfg->rts_threshold = wiphy->rts_threshold; in mwifiex_cfg80211_set_wiphy_params()
767 bss_cfg->frag_threshold = wiphy->frag_threshold; in mwifiex_cfg80211_set_wiphy_params()
769 bss_cfg->retry_limit = wiphy->retry_long; in mwifiex_cfg80211_set_wiphy_params()
773 UAP_BSS_PARAMS_I, bss_cfg, in mwifiex_cfg80211_set_wiphy_params()
776 kfree(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
2038 memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_stop_ap()
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Duap_cmd.c22 struct nxpwifi_uap_bss_param *bss_cfg = cmd_buf; in nxpwifi_uap_bss_wpa() local
30 tlv_akmp->key_mgmt_operation = cpu_to_le16(bss_cfg->key_mgmt_operation); in nxpwifi_uap_bss_wpa()
31 tlv_akmp->key_mgmt = cpu_to_le16(bss_cfg->key_mgmt); in nxpwifi_uap_bss_wpa()
35 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa & VALID_CIPHER_BITMAP) { in nxpwifi_uap_bss_wpa()
42 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa; in nxpwifi_uap_bss_wpa()
47 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa2 & VALID_CIPHER_BITMAP) { in nxpwifi_uap_bss_wpa()
54 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa2; in nxpwifi_uap_bss_wpa()
59 if (bss_cfg->wpa_cfg.group_cipher & VALID_CIPHER_BITMAP) { in nxpwifi_uap_bss_wpa()
65 gwk_cipher->cipher = bss_cfg->wpa_cfg.group_cipher; in nxpwifi_uap_bss_wpa()
70 if (bss_cfg->wpa_cfg.length) { in nxpwifi_uap_bss_wpa()
[all …]
H A Dcmdevt.h53 struct nxpwifi_uap_bss_param *bss_cfg,
56 struct nxpwifi_uap_bss_param *bss_cfg,
59 struct nxpwifi_uap_bss_param *bss_cfg,
61 void nxpwifi_set_uap_rates(struct nxpwifi_uap_bss_param *bss_cfg,
67 struct nxpwifi_uap_bss_param *bss_cfg,
70 struct nxpwifi_uap_bss_param *bss_cfg,
74 struct nxpwifi_uap_bss_param *bss_cfg,
79 struct nxpwifi_uap_bss_param *bss_cfg,
82 struct nxpwifi_uap_bss_param *bss_cfg);
H A D11h.c288 struct nxpwifi_uap_bss_param *bss_cfg; in nxpwifi_dfs_chan_sw_work() local
300 bss_cfg = &priv->bss_cfg; in nxpwifi_dfs_chan_sw_work()
301 if (!bss_cfg->beacon_period) { in nxpwifi_dfs_chan_sw_work()
321 nxpwifi_uap_set_channel(priv, bss_cfg, priv->dfs_chandef); in nxpwifi_dfs_chan_sw_work()
323 if (nxpwifi_config_start_uap(priv, bss_cfg)) { in nxpwifi_dfs_chan_sw_work()
H A Dcfg80211.c637 struct nxpwifi_uap_bss_param *bss_cfg; in nxpwifi_cfg80211_set_wiphy_params() local
644 bss_cfg = kzalloc_obj(*bss_cfg, GFP_KERNEL); in nxpwifi_cfg80211_set_wiphy_params()
645 if (!bss_cfg) { in nxpwifi_cfg80211_set_wiphy_params()
650 nxpwifi_set_sys_config_invalid_data(bss_cfg); in nxpwifi_cfg80211_set_wiphy_params()
653 bss_cfg->rts_threshold = wiphy->rts_threshold; in nxpwifi_cfg80211_set_wiphy_params()
655 bss_cfg->frag_threshold = wiphy->frag_threshold; in nxpwifi_cfg80211_set_wiphy_params()
657 bss_cfg->retry_limit = wiphy->retry_long; in nxpwifi_cfg80211_set_wiphy_params()
659 ret = nxpwifi_set_uap_sys_cfg(priv, bss_cfg); in nxpwifi_cfg80211_set_wiphy_params()
661 kfree(bss_cfg); in nxpwifi_cfg80211_set_wiphy_params()
1646 memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); in nxpwifi_cfg80211_stop_ap()
[all …]
H A Dmain.h609 struct nxpwifi_uap_bss_param bss_cfg; member