Lines Matching defs:hw

121 	if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR)
137 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR)
317 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef,
376 sband = local->hw.wiphy->bands[chan->band];
614 sband = local->hw.wiphy->bands[chan->band];
644 skb = alloc_skb(local->hw.extra_tx_headroom +
658 skb_reserve(skb, local->hw.extra_tx_headroom);
663 if (!(local->hw.flags & IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE))
665 if (!(local->hw.flags & IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE))
673 (local->hw.flags & IEEE80211_HW_SPECTRUM_MGMT))
691 cpu_to_le16(local->hw.conf.listen_interval);
700 cpu_to_le16(local->hw.conf.listen_interval);
860 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
872 skb = ieee80211_pspoll_get(&local->hw, &sdata->vif);
891 skb = ieee80211_nullfunc_get(&local->hw, &sdata->vif);
902 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
921 skb = dev_alloc_skb(local->hw.extra_tx_headroom + 30);
925 skb_reserve(skb, local->hw.extra_tx_headroom);
984 ieee80211_queue_work(&sdata->local->hw,
996 ieee80211_queue_work(&sdata->local->hw,
1031 ieee80211_queue_work(&sdata->local->hw,
1034 ieee80211_queue_work(&sdata->local->hw, &ifmgd->chswitch_work);
1044 ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.chswitch_work);
1079 ieee80211_queue_work(&local->hw,
1084 if (!cfg80211_chandef_usable(local->hw.wiphy, &csa_ie.chandef,
1092 ieee80211_queue_work(&local->hw,
1104 ieee80211_queue_work(&local->hw,
1119 !(local->hw.flags & IEEE80211_HW_CHANCTX_STA_CSA)) {
1122 ieee80211_queue_work(&local->hw,
1136 ieee80211_queue_work(&local->hw,
1168 ieee80211_queue_work(&local->hw, &ifmgd->chswitch_work);
1309 struct ieee80211_conf *conf = &local->hw.conf;
1319 !(local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS)) {
1323 if (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK)
1326 if ((local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK) &&
1327 (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS))
1337 struct ieee80211_conf *conf = &local->hw.conf;
1386 if (!(local->hw.flags & IEEE80211_HW_SUPPORTS_PS)) {
1432 local->hw.conf.dynamic_ps_timeout = timeout;
1447 local->hw.conf.max_sleep_period = maxslp;
1448 local->hw.conf.ps_dtim_period = dtimper;
1474 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
1475 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
1479 ieee80211_wake_queues_by_reason(&local->hw,
1501 if (local->hw.conf.flags & IEEE80211_CONF_PS)
1504 if (local->hw.conf.dynamic_ps_timeout > 0) {
1509 local->hw.conf.dynamic_ps_timeout));
1519 for (q = 0; q < local->hw.queues; q++) {
1525 local->hw.conf.dynamic_ps_timeout));
1532 if ((local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK) &&
1537 local->hw.conf.dynamic_ps_timeout));
1545 if (!((local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) &&
1546 (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK)) ||
1549 local->hw.conf.flags |= IEEE80211_CONF_PS;
1561 ieee80211_queue_work(&local->hw, &local->dynamic_ps_enable_work);
1598 if (local->hw.queues < IEEE80211_NUM_ACS)
1848 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
1849 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
1969 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR)
1998 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
2030 if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) {
2051 if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
2117 struct sk_buff *ieee80211_ap_probereq_get(struct ieee80211_hw *hw,
2224 struct ieee80211_hw *hw = &sdata->local->hw;
2229 ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work);
2236 struct ieee80211_hw *hw = &sdata->local->hw;
2241 ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work);
2264 cfg80211_put_bss(sdata->local->hw.wiphy, auth_data->bss);
2284 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
2717 sband = local->hw.wiphy->bands[ieee80211_get_sdata_band(sdata)];
2913 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
3041 if (local->hw.flags & IEEE80211_HW_TIMING_BEACON_ONLY) {
3142 if (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK) {
3147 if (local->hw.conf.dynamic_ps_timeout > 0) {
3148 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
3149 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
3225 if (local->hw.flags & IEEE80211_HW_TIMING_BEACON_ONLY) {
3373 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
3410 cfg80211_unlink_bss(local->hw.wiphy, auth_data->bss);
3433 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
3495 cfg80211_unlink_bss(local->hw.wiphy, assoc_data->bss);
3505 if (!(local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)) {
3529 ieee80211_queue_work(&local->hw, &sdata->work);
3607 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
3632 else if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) {
3649 wiphy_debug(local->hw.wiphy,
3676 ieee80211_queue_work(&sdata->local->hw,
3693 ieee80211_queue_work(&local->hw, &ifmgd->monitor_work);
3713 flags = sdata->local->hw.flags;
3715 ieee80211_queue_work(&sdata->local->hw,
3718 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
3805 ifmgd->uapsd_queues = sdata->local->hw.uapsd_queues;
3806 ifmgd->uapsd_max_sp_len = sdata->local->hw.uapsd_max_sp_len;
3809 if (sdata->local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS)
3900 sband = local->hw.wiphy->bands[cbss->channel->band];
4020 sband = local->hw.wiphy->bands[cbss->channel->band];
4088 } else if (!(local->hw.flags &
4227 cfg80211_ref_bss(local->hw.wiphy, auth_data->bss);
4338 (local->hw.queues >= IEEE80211_NUM_ACS);
4400 sband = local->hw.wiphy->bands[req->bss->channel->band];
4402 local->hw.queues < IEEE80211_NUM_ACS || !bss->wmm_used ||
4413 local->hw.queues < IEEE80211_NUM_ACS || !bss->wmm_used ||
4465 (sdata->local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD)) {
4512 if (sdata->local->hw.flags & IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC &&
4539 if (local->hw.flags & IEEE80211_HW_TIMING_BEACON_ONLY) {