Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170579
b: refs/heads/master
c: ebb90cf
h: refs/heads/master
i:
  170577: 4fc308d
  170575: c2034df
v: v3
  • Loading branch information
Senthil Balasubramanian authored and John W. Linville committed Oct 7, 2009
1 parent 9260bed commit 4a23ab5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63a75b912b00fbafeb54849ca3bcd0295ad68609
refs/heads/master: ebb90cfc32f0d7ee55be7787ce7d88e521e9ed01
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath/ath9k/eeprom.h
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ struct ar9287_eeprom {
} __packed;

enum reg_ext_bitmap {
REG_EXT_FCC_MIDBAND = 0,
REG_EXT_JAPAN_MIDBAND = 1,
REG_EXT_FCC_DFS_HT40 = 2,
REG_EXT_JAPAN_NONDFS_HT40 = 3,
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3660,7 +3660,10 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah)
AR_EEPROM_EEREGCAP_EN_KK_U1_EVEN;
}

pCap->reg_cap |= AR_EEPROM_EEREGCAP_EN_FCC_MIDBAND;
/* Advertise midband for AR5416 with FCC midband set in eeprom */
if (regulatory->current_rd_ext & (1 << REG_EXT_FCC_MIDBAND) &&
AR_SREV_5416(ah))
pCap->reg_cap |= AR_EEPROM_EEREGCAP_EN_FCC_MIDBAND;

pCap->num_antcfg_5ghz =
ah->eep_ops->get_num_ant_config(ah, ATH9K_HAL_FREQ_BAND_5GHZ);
Expand Down

0 comments on commit 4a23ab5

Please sign in to comment.