Lines Matching defs:regulatory
418 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
420 regulatory->country_code = CTRY_DEFAULT;
421 regulatory->power_limit = MAX_RATE_POWER;
422 regulatory->tp_scale = ATH9K_TP_SCALE_MAX;
1138 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
1169 ath9k_regd_get_ctl(regulatory, chan),
1173 (u32) regulatory->power_limit));
2051 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
2058 regulatory->current_rd = eeval;
2063 regulatory->current_rd_ext = eeval;
2069 if (regulatory->current_rd == 0x64 ||
2070 regulatory->current_rd == 0x65)
2071 regulatory->current_rd += 5;
2072 else if (regulatory->current_rd == 0x41)
2073 regulatory->current_rd = 0x43;
2075 "regdomain mapped to 0x%x\n", regulatory->current_rd);
2218 if (regulatory->current_rd_ext & (1 << REG_EXT_JAPAN_MIDBAND)) {
2231 if (regulatory->current_rd_ext & (1 << REG_EXT_FCC_MIDBAND) &&
2487 struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
2491 regulatory->power_limit = min(limit, (u32) MAX_RATE_POWER);
2494 ath9k_regd_get_ctl(regulatory, chan),
2498 (u32) regulatory->power_limit));