Searched refs:smps_mode (Results 1 – 13 of 13) sorted by relevance
287 enum ieee80211_smps_mode smps_mode) in ieee80211_request_smps() argument294 if (WARN_ON(smps_mode == IEEE80211_SMPS_OFF)) in ieee80211_request_smps()295 smps_mode = IEEE80211_SMPS_AUTOMATIC; in ieee80211_request_smps()297 sdata->u.mgd.driver_smps_mode = smps_mode; in ieee80211_request_smps()
1306 enum ieee80211_smps_mode *smps_mode) in check_mgd_smps() argument1309 *smps_mode = ifmgd->ap_smps; in check_mgd_smps()1311 if (*smps_mode == IEEE80211_SMPS_AUTOMATIC) { in check_mgd_smps()1313 *smps_mode = IEEE80211_SMPS_DYNAMIC; in check_mgd_smps()1315 *smps_mode = IEEE80211_SMPS_OFF; in check_mgd_smps()1328 enum ieee80211_smps_mode smps_mode = IEEE80211_SMPS_OFF; in ieee80211_recalc_smps() local1349 count += check_mgd_smps(&sdata->u.mgd, &smps_mode); in ieee80211_recalc_smps()1352 smps_mode = IEEE80211_SMPS_OFF; in ieee80211_recalc_smps()1357 if (smps_mode == local->smps_mode) in ieee80211_recalc_smps()1361 local->smps_mode = smps_mode; in ieee80211_recalc_smps()
161 enum ieee80211_smps_mode smps_mode) in ieee80211_set_smps() argument167 smps_mode == IEEE80211_SMPS_STATIC) in ieee80211_set_smps()172 (smps_mode == IEEE80211_SMPS_DYNAMIC || in ieee80211_set_smps()173 smps_mode == IEEE80211_SMPS_AUTOMATIC)) in ieee80211_set_smps()181 err = __ieee80211_request_smps(sdata, smps_mode); in ieee80211_set_smps()
196 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC; in ieee80211_hw_config()197 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_config()198 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_config()650 local->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_alloc_hw()
1501 enum ieee80211_smps_mode smps_mode) in __ieee80211_request_smps() argument1510 sdata->u.mgd.req_smps = smps_mode; in __ieee80211_request_smps()1512 if (old_req == smps_mode && in __ieee80211_request_smps()1513 smps_mode != IEEE80211_SMPS_AUTOMATIC) in __ieee80211_request_smps()1530 if (smps_mode == IEEE80211_SMPS_AUTOMATIC) { in __ieee80211_request_smps()1532 smps_mode = IEEE80211_SMPS_DYNAMIC; in __ieee80211_request_smps()1534 smps_mode = IEEE80211_SMPS_OFF; in __ieee80211_request_smps()1538 err = ieee80211_send_smps_action(sdata, smps_mode, in __ieee80211_request_smps()
941 enum ieee80211_smps_mode smps_mode; member1343 enum ieee80211_smps_mode smps_mode);
209 __entry->smps = local->hw.conf.smps_mode;
777 enum ieee80211_smps_mode smps_mode; member2838 enum ieee80211_smps_mode smps_mode);
356 priv->current_ht_config.smps = conf->smps_mode; in iwlagn_mac_config()
3488 priv->current_ht_config.smps = conf->smps_mode; in iwlagn_mac_channel_switch()
697 smps_modes[conf->smps_mode]); in mac80211_hwsim_config()
2129 priv->current_ht_config.smps = conf->smps_mode; in iwl_legacy_mac_config()
2878 priv->current_ht_config.smps = conf->smps_mode; in iwl4965_mac_channel_switch()