Lines Matching refs:mac
411 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_set_hw_reg() local
441 if (!mac->ht_enable) in rtl92ee_set_hw_reg()
512 union aci_aifsn *aifs = (union aci_aifsn *)(&mac->ac[0].aifs); in rtl92ee_set_hw_reg()
637 (u2btmp | mac->assoc_id)); in rtl92ee_set_hw_reg()
649 (u32)(mac->tsf & 0xffffffff)); in rtl92ee_set_hw_reg()
651 (u32)((mac->tsf >> 32) & 0xffffffff)); in rtl92ee_set_hw_reg()
1276 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_hw_init() local
1380 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ETHER_ADDR, mac->mac_addr); in rtl92ee_hw_init()
1651 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_card_disable() local
1658 mac->link_state = MAC80211_NOLINK; in rtl92ee_card_disable()
1690 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_set_beacon_related_registers() local
1694 bcn_interval = mac->beacon_interval; in rtl92ee_set_beacon_related_registers()
1710 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_set_beacon_interval() local
1711 u16 bcn_interval = mac->beacon_interval; in rtl92ee_set_beacon_interval()
2255 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_update_hal_rate_mask() local
2272 if (mac->opmode == NL80211_IFTYPE_STATION || in rtl92ee_update_hal_rate_mask()
2273 mac->opmode == NL80211_IFTYPE_MESH_POINT) in rtl92ee_update_hal_rate_mask()
2274 curtxbw_40mhz = mac->bw_40; in rtl92ee_update_hal_rate_mask()
2275 else if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_update_hal_rate_mask()
2276 mac->opmode == NL80211_IFTYPE_ADHOC) in rtl92ee_update_hal_rate_mask()
2280 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl92ee_update_hal_rate_mask()
2397 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_update_channel_access_setting() local
2401 (u8 *)&mac->slot_time); in rtl92ee_update_channel_access_setting()
2402 if (!mac->ht_enable) in rtl92ee_update_channel_access_setting()
2420 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92ee_set_key() local
2483 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_set_key()
2484 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in rtl92ee_set_key()
2504 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_set_key()
2505 mac->opmode == NL80211_IFTYPE_MESH_POINT) in rtl92ee_set_key()
2523 if (mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92ee_set_key()