Lines Matching refs:bss_cfg
651 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_cfg80211_set_wiphy_params() local
664 bss_cfg = kzalloc(sizeof(*bss_cfg), GFP_KERNEL); in mwifiex_cfg80211_set_wiphy_params()
665 if (!bss_cfg) in mwifiex_cfg80211_set_wiphy_params()
668 mwifiex_set_sys_config_invalid_data(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
671 bss_cfg->rts_threshold = wiphy->rts_threshold; in mwifiex_cfg80211_set_wiphy_params()
673 bss_cfg->frag_threshold = wiphy->frag_threshold; in mwifiex_cfg80211_set_wiphy_params()
675 bss_cfg->retry_limit = wiphy->retry_long; in mwifiex_cfg80211_set_wiphy_params()
679 UAP_BSS_PARAMS_I, bss_cfg, in mwifiex_cfg80211_set_wiphy_params()
682 kfree(bss_cfg); in mwifiex_cfg80211_set_wiphy_params()
1821 memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_stop_ap()
1853 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_cfg80211_start_ap() local
1859 bss_cfg = kzalloc(sizeof(struct mwifiex_uap_bss_param), GFP_KERNEL); in mwifiex_cfg80211_start_ap()
1860 if (!bss_cfg) in mwifiex_cfg80211_start_ap()
1863 mwifiex_set_sys_config_invalid_data(bss_cfg); in mwifiex_cfg80211_start_ap()
1866 bss_cfg->beacon_period = params->beacon_interval; in mwifiex_cfg80211_start_ap()
1868 bss_cfg->dtim_period = params->dtim_period; in mwifiex_cfg80211_start_ap()
1871 memcpy(bss_cfg->ssid.ssid, params->ssid, params->ssid_len); in mwifiex_cfg80211_start_ap()
1872 bss_cfg->ssid.ssid_len = params->ssid_len; in mwifiex_cfg80211_start_ap()
1876 bss_cfg->sta_ao_timer = 10 * params->inactivity_timeout; in mwifiex_cfg80211_start_ap()
1877 bss_cfg->ps_sta_ao_timer = 10 * params->inactivity_timeout; in mwifiex_cfg80211_start_ap()
1882 bss_cfg->bcast_ssid_ctl = 1; in mwifiex_cfg80211_start_ap()
1885 bss_cfg->bcast_ssid_ctl = 0; in mwifiex_cfg80211_start_ap()
1890 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
1894 mwifiex_uap_set_channel(priv, bss_cfg, params->chandef); in mwifiex_cfg80211_start_ap()
1895 mwifiex_set_uap_rates(bss_cfg, params); in mwifiex_cfg80211_start_ap()
1897 if (mwifiex_set_secure_params(priv, bss_cfg, params)) { in mwifiex_cfg80211_start_ap()
1898 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
1904 mwifiex_set_ht_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
1907 mwifiex_set_vht_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
1917 mwifiex_set_wmm_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
1920 mwifiex_set_tpc_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
1935 if (mwifiex_config_start_uap(priv, bss_cfg)) { in mwifiex_cfg80211_start_ap()
1938 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
1949 memcpy(&priv->bss_cfg, bss_cfg, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_start_ap()
1950 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
3562 chsw_msec = max(channel_sw->count * priv->bss_cfg.beacon_period, 100); in mwifiex_cfg80211_channel_switch()