Lines Matching refs:mac
49 struct rtl_mac *mac = rtl_mac(rtlpriv); in is_any_client_connect_to_ap() local
52 if (mac->opmode == NL80211_IFTYPE_ADHOC || in is_any_client_connect_to_ap()
53 mac->opmode == NL80211_IFTYPE_MESH_POINT || in is_any_client_connect_to_ap()
54 mac->opmode == NL80211_IFTYPE_AP) { in is_any_client_connect_to_ap()
66 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_legacy() local
70 if ((mac->mode == WIRELESS_MODE_B) || (mac->mode == WIRELESS_MODE_G)) in halbtc_legacy()
477 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_get_wifi_link_status() local
481 if (mac->opmode == NL80211_IFTYPE_STATION && in halbtc_get_wifi_link_status()
482 mac->link_state >= MAC80211_LINKED) { in halbtc_get_wifi_link_status()
508 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_get() local
547 if (mac->act_scanning) in halbtc_get()
553 if (mac->link_state == MAC80211_LINKING) in halbtc_get()
559 if (mac->link_state == MAC80211_LINKING) in halbtc_get()
574 if (mac->opmode == NL80211_IFTYPE_AP) in halbtc_get()