Search Linux Wireless

how to get PHY error codes from AR9382 / HB116

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have an Atheros AR9382 chipset, on the 2x2 HB116.

I was wondering if anyone knows how to enable PHY error codes on this
card/chipset being passed up.  Including synchronization errors, like
in the PLCP.

In: drivers/net/wireless/ath/ath9k/hw.c, and function: void
ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits)
... I did a REG_WRITE(ah, AR_PHY_ERR, 0xffffffff); to enable all phy
error packets upwards in terms of the RX filter.

I am also setting the following in ath9k_hw_ani_init
(drivers/net/wireless/ath/ath9k/ani.c)
  REG_WRITE(ah, AR_PHY_ERR_1, ah->ani[0].ofdmPhyErrBase);
  REG_WRITE(ah, AR_PHY_ERR_2, ah->ani[0].cckPhyErrBase);

I am also commented this out in drivers/net/wireless/ath/ath9k/recv.c:
  rfilt |= ATH9K_RX_FILTER_PHYERR;

I've also tried forcing the card in to promiscuous mode.

However, when I get errored packets up from the card, they all have
the same error type which is 0x00, which makes me believe that the
actual error bits are not being set, or something along these lines.

Does anyone know what I might be missing?  I'd greatly appreciate any help.

- George
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux