• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Q] Kernel building with ath9k support

Search This thread

SnZ

Senior Member
Aug 14, 2011
359
45
I'm trying to build kernel for pollux_windy with ath9k support, but my build fails with the following errors:

Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
  ah->txchainmask = common->tx_chainmask;

does anybody have idea how i can fix this? I didn't had such problems with other devices.

Using this as a source: https://github.com/omnirom/android_kernel_sony_apq8064
 

mithun46

Senior Member
Oct 28, 2012
1,275
1,979
▒▅|▆|█|▆|▅▒
Because of OTG and USB support :)

//EDIT

Big up for @mithun46 who pointed me in the right direction :). Anyone interested read about git blame and reverse changes to files.

Use the mention system instead of PMs from now as I'm sure there will be others with the same doubt as well. And for me answering it here will help more I think. :)
 
  • Like
Reactions: SnZ

Infidel01

Member
Jan 17, 2010
14
0
I am also in the process of trying to compile a kernel module ath9k.


I also receive the error
Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
  ah->txchainmask = common->tx_chainmask;

When attempting to enable

<*> Atheros Wireless Cards --->
<m> Atheros 802.11n wireless cards support (NEW)
<M> Atheros 802.11n wireless cards
[*] Atheros ath9k AHB bus
[*] Atheros ath9k
[*] Atheros DFS support for certified
[*] Atheros MAC statistics
[ ] Atheros ath9k rate control (NEW)


I have no idea whats up but i will peck away at it and see what happens. It is nice to know others are working on this as well.
I have a feeling it could be a required other driver or library that we are missing or failing to enable in menuconfig but i have no idea how legitimate an idea this is.
 

smue83

Member
Oct 11, 2012
7
2
I am also in the process of trying to compile a kernel module ath9k.


I also receive the error
Code:
drivers/net/wireless/ath/ath9k/init.c: In function ‘ath9k_init_txpower_limits’:
drivers/net/wireless/ath/ath9k/init.c:627:26: error: ‘struct ath_common’ has no member named ‘tx_chainmask’
  ah->txchainmask = common->tx_chainmask;

When attempting to enable

<*> Atheros Wireless Cards --->
<m> Atheros 802.11n wireless cards support (NEW)
<M> Atheros 802.11n wireless cards
[*] Atheros ath9k AHB bus
[*] Atheros ath9k
[*] Atheros DFS support for certified
[*] Atheros MAC statistics
[ ] Atheros ath9k rate control (NEW)


I have no idea whats up but i will peck away at it and see what happens. It is nice to know others are working on this as well.
I have a feeling it could be a required other driver or library that we are missing or failing to enable in menuconfig but i have no idea how legitimate an idea this is.

Got exactly the same problem when trying to build 3.0.101 kernel.. would be very thanfull to get some hints how to solve that :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Because of OTG and USB support :)

    //EDIT

    Big up for @mithun46 who pointed me in the right direction :). Anyone interested read about git blame and reverse changes to files.

    Use the mention system instead of PMs from now as I'm sure there will be others with the same doubt as well. And for me answering it here will help more I think. :)