Lines Matching refs:wirelessmode
3266 enum wireless_mode wirelessmode = mac->mode; in rtl8821ae_update_hal_rate_table() local
3276 switch (wirelessmode) { in rtl8821ae_update_hal_rate_table()
3370 enum wireless_mode wirelessmode, in _rtl8821ae_set_ra_vht_ratr_bitmap() argument
3380 else if (wirelessmode == WIRELESS_MODE_AC_5G in _rtl8821ae_set_ra_vht_ratr_bitmap()
3381 || wirelessmode == WIRELESS_MODE_AC_24G) { in _rtl8821ae_set_ra_vht_ratr_bitmap()
3391 static u8 _rtl8821ae_get_vht_eni(enum wireless_mode wirelessmode, in _rtl8821ae_get_vht_eni() argument
3395 if (wirelessmode < WIRELESS_MODE_N_24G) in _rtl8821ae_get_vht_eni()
3397 else if (wirelessmode == WIRELESS_MODE_AC_24G) { in _rtl8821ae_get_vht_eni()
3402 } else if (wirelessmode == WIRELESS_MODE_AC_5G) { in _rtl8821ae_get_vht_eni()
3411 enum wireless_mode wirelessmode) in _rtl8821ae_get_ra_ldpc() argument
3419 enum wireless_mode wirelessmode, in _rtl8821ae_get_ra_rftype() argument
3428 else if (wirelessmode == WIRELESS_MODE_AC_5G in _rtl8821ae_get_ra_rftype()
3429 || wirelessmode == WIRELESS_MODE_AC_24G in _rtl8821ae_get_ra_rftype()
3430 || wirelessmode == WIRELESS_MODE_AC_ONLY) { in _rtl8821ae_get_ra_rftype()
3433 } else if (wirelessmode == WIRELESS_MODE_N_5G in _rtl8821ae_get_ra_rftype()
3434 || wirelessmode == WIRELESS_MODE_N_24G) { in _rtl8821ae_get_ra_rftype()
3473 enum wireless_mode wirelessmode = 0; in rtl8821ae_update_hal_rate_mask() local
3483 wirelessmode = sta_entry->wireless_mode; in rtl8821ae_update_hal_rate_mask()
3486 "wireless mode = 0x%x\n", wirelessmode); in rtl8821ae_update_hal_rate_mask()
3493 if (wirelessmode == WIRELESS_MODE_N_5G || in rtl8821ae_update_hal_rate_mask()
3494 wirelessmode == WIRELESS_MODE_AC_5G || in rtl8821ae_update_hal_rate_mask()
3495 wirelessmode == WIRELESS_MODE_A) in rtl8821ae_update_hal_rate_mask()
3503 if (wirelessmode == WIRELESS_MODE_N_24G in rtl8821ae_update_hal_rate_mask()
3504 || wirelessmode == WIRELESS_MODE_N_5G) in rtl8821ae_update_hal_rate_mask()
3507 else if (wirelessmode == WIRELESS_MODE_AC_24G in rtl8821ae_update_hal_rate_mask()
3508 || wirelessmode == WIRELESS_MODE_AC_5G in rtl8821ae_update_hal_rate_mask()
3509 || wirelessmode == WIRELESS_MODE_AC_ONLY) in rtl8821ae_update_hal_rate_mask()
3514 rf_type = _rtl8821ae_get_ra_rftype(hw, wirelessmode, ratr_bitmap); in rtl8821ae_update_hal_rate_mask()
3517 switch (wirelessmode) { in rtl8821ae_update_hal_rate_mask()
3541 if (wirelessmode == WIRELESS_MODE_N_24G) in rtl8821ae_update_hal_rate_mask()
3631 ratr_index = rtl_mrate_idx_to_arfr_id(hw, ratr_index, wirelessmode); in rtl8821ae_update_hal_rate_mask()
3633 ratr_bitmap = _rtl8821ae_set_ra_vht_ratr_bitmap(hw, wirelessmode, in rtl8821ae_update_hal_rate_mask()
3645 | _rtl8821ae_get_vht_eni(wirelessmode, ratr_bitmap) in rtl8821ae_update_hal_rate_mask()
3646 | _rtl8821ae_get_ra_ldpc(hw, macid, sta_entry, wirelessmode); in rtl8821ae_update_hal_rate_mask()