Lines Matching refs:hw
152 struct ieee80211_hw *hw = priv->hw;
154 wiphy_rfkill_stop_polling(hw->wiphy);
156 ieee80211_unregister_hw(hw);
275 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
276 struct ath9k_htc_priv *priv = hw->priv;
630 common->hw = priv->hw;
692 struct ieee80211_hw *hw)
696 hw->flags = IEEE80211_HW_SIGNAL_DBM |
704 hw->wiphy->interface_modes =
708 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
710 hw->queues = 4;
711 hw->channel_change_time = 5000;
712 hw->max_listen_interval = 10;
713 hw->vif_data_size = sizeof(struct ath9k_htc_vif);
714 hw->sta_data_size = sizeof(struct ath9k_htc_sta);
717 hw->extra_tx_headroom = sizeof(struct tx_frame_hdr) +
721 hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
724 hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
736 SET_IEEE80211_PERM_ADDR(hw, common->macaddr);
741 struct ieee80211_hw *hw = priv->hw;
754 ath9k_set_hw_capab(priv, hw);
757 error = ath_regd_init(&common->regulatory, priv->hw->wiphy,
775 error = ieee80211_register_hw(hw);
781 error = regulatory_hint(hw->wiphy, reg->alpha2);
792 ieee80211_unregister_hw(hw);
808 struct ieee80211_hw *hw;
812 hw = ieee80211_alloc_hw(sizeof(struct ath9k_htc_priv), &ath9k_htc_ops);
813 if (!hw)
816 priv = hw->priv;
817 priv->hw = hw;
821 SET_IEEE80211_DEV(hw, priv->dev);
849 ieee80211_free_hw(hw);
863 ieee80211_free_hw(htc_handle->drv_priv->hw);