Lines Matching refs:bss_cfg
723 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()
1949 memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_stop_ap()
1981 struct mwifiex_uap_bss_param *bss_cfg; in mwifiex_cfg80211_start_ap() local
1987 bss_cfg = kzalloc(sizeof(struct mwifiex_uap_bss_param), GFP_KERNEL); in mwifiex_cfg80211_start_ap()
1988 if (!bss_cfg) in mwifiex_cfg80211_start_ap()
1991 mwifiex_set_sys_config_invalid_data(bss_cfg); in mwifiex_cfg80211_start_ap()
1994 bss_cfg->beacon_period = params->beacon_interval; in mwifiex_cfg80211_start_ap()
1996 bss_cfg->dtim_period = params->dtim_period; in mwifiex_cfg80211_start_ap()
1999 memcpy(bss_cfg->ssid.ssid, params->ssid, params->ssid_len); in mwifiex_cfg80211_start_ap()
2000 bss_cfg->ssid.ssid_len = params->ssid_len; in mwifiex_cfg80211_start_ap()
2004 bss_cfg->sta_ao_timer = 10 * params->inactivity_timeout; in mwifiex_cfg80211_start_ap()
2005 bss_cfg->ps_sta_ao_timer = 10 * params->inactivity_timeout; in mwifiex_cfg80211_start_ap()
2010 bss_cfg->bcast_ssid_ctl = 1; in mwifiex_cfg80211_start_ap()
2013 bss_cfg->bcast_ssid_ctl = 0; in mwifiex_cfg80211_start_ap()
2016 bss_cfg->bcast_ssid_ctl = 2; in mwifiex_cfg80211_start_ap()
2019 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
2023 mwifiex_uap_set_channel(priv, bss_cfg, params->chandef); in mwifiex_cfg80211_start_ap()
2024 mwifiex_set_uap_rates(bss_cfg, params); in mwifiex_cfg80211_start_ap()
2026 if (mwifiex_set_secure_params(priv, bss_cfg, params)) { in mwifiex_cfg80211_start_ap()
2032 mwifiex_set_ht_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
2035 mwifiex_set_vht_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
2045 mwifiex_set_wmm_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
2048 mwifiex_set_tpc_params(priv, bss_cfg, params); in mwifiex_cfg80211_start_ap()
2065 if (mwifiex_config_start_uap(priv, bss_cfg)) { in mwifiex_cfg80211_start_ap()
2078 memcpy(&priv->bss_cfg, bss_cfg, sizeof(priv->bss_cfg)); in mwifiex_cfg80211_start_ap()
2079 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
2083 kfree(bss_cfg); in mwifiex_cfg80211_start_ap()
3978 chsw_msec = max(channel_sw->count * priv->bss_cfg.beacon_period, 100); in mwifiex_cfg80211_channel_switch()