Lines Matching refs:regulatory
444 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah); in ath9k_hw_init_defaults() local
446 regulatory->country_code = CTRY_DEFAULT; in ath9k_hw_init_defaults()
447 regulatory->power_limit = MAX_RATE_POWER; in ath9k_hw_init_defaults()
2381 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah); in ath9k_hw_fill_cap_info() local
2388 regulatory->current_rd = eeval; in ath9k_hw_fill_cap_info()
2392 if (regulatory->current_rd == 0x64 || in ath9k_hw_fill_cap_info()
2393 regulatory->current_rd == 0x65) in ath9k_hw_fill_cap_info()
2394 regulatory->current_rd += 5; in ath9k_hw_fill_cap_info()
2395 else if (regulatory->current_rd == 0x41) in ath9k_hw_fill_cap_info()
2396 regulatory->current_rd = 0x43; in ath9k_hw_fill_cap_info()
2398 regulatory->current_rd); in ath9k_hw_fill_cap_info()