Skip to contentSkip to conversation

Problem compiling ath5k

DISCUSSION Fabio Venturi 3 participants 5 messages Feb 16, 2008 – Feb 17, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello to the list,
I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless Card so I downloaded the compat-wireless-2.6.tar.bz2
I'm running a 2.6.24.2 kernel (the laste stable),
but the compile stage ends immediately:

//------ START MAKE ----------------
make -C /lib/modules/2.6.24.2-KaL/build M=/usr/src/modules/compat-wireless-2.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.24'
CC [M] /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.o
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:165:33: error: linux/pm_qos_params.h: No such file or directory /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_up':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: implicit declaration of function 'pm_qos_update_requirement' /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: (Each undeclared identifier is reported only once /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1704: error: for each function it appears in.) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_down':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1859: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:1860: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_init':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6558: error: implicit declaration of function 'pm_qos_add_requirement' /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6558: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6559: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function) /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c: In function 'ipw2100_exit':
/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6581: error: implicit declaration of function 'pm_qos_remove_requirement' /usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.c:6581: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function) make[3]: *** [/usr/src/modules/compat-wireless-2.6/drivers/net/wireless/ipw2100.o] Error 1
make[2]: *** [/usr/src/modules/compat-wireless-2.6/drivers/net/wireless] Error 2
make[1]: *** [_module_/usr/src/modules/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24'
make: *** [modules] Error 2

//------------ END MAKE ----------

I'm missing linux/pm_qos_params.h
Where can I get it?
The directory /usr/include is a symlink to /usr/src/linux/include

Thank you in advance for any advice.
Best regards,
Fabio

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Joachim Frieben
Quoted 6 lines

Hello to the list,
I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless Card
so I downloaded the compat-wireless-2.6.tar.bz2
I'm running a 2.6.24.2 kernel (the laste stable),
but the compile stage ends immediately:

I simply removed ipw2100 from config.mk (I think that was the name ..) in order to skip the build of ipw2100.ko which is ok since I was just interested in the ath5k driver. All other drivers built correctly then.

OK,
now the driver compile and load without any problem and the wlan0 and master0 devices are created.
There are no error in dmesg, but I can't scan for stations, iwlist wlan0 scan
says there are no active stations.
Do I need extra modules for scanning?
I'm using an Atheros AR2413, is this device supposed to work with the ath5k module?
Thank you in advance for any help,
regards,
Fabio

#3 lore raw
Quoted 10 lines · Fabio Venturi
Quoted 9 lines · Joachim Frieben
Quoted 6 lines

Hello to the list,
I'd like to try the ath5k kernel module for my Atheros AR2413 Wireless Card
so I downloaded the compat-wireless-2.6.tar.bz2
I'm running a 2.6.24.2 kernel (the laste stable),
but the compile stage ends immediately:

I simply removed ipw2100 from config.mk (I think that was the name ..) in order to skip the build of ipw2100.ko which is ok since I was just interested in the ath5k driver. All other drivers built correctly then.

These issues are being addressed with ipw, essentially we need some items ported over.

Quoted 10 lines

OK,
now the driver compile and load without any problem and the wlan0 and master0 devices are created.
There are no error in dmesg, but I can't scan for stations, iwlist wlan0 scan
says there are no active stations.
Do I need extra modules for scanning?
I'm using an Atheros AR2413, is this device supposed to work with the ath5k module?
Thank you in advance for any help,

You need to turn your interface up first:

ip link set wlan0 up

Or

ifconfig wlan0 up

Luis

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 14 lines · Joachim Frieben

2008/2/16, Fabio Venturi <[email protected]>:

Quoted 11 lines · Joachim Frieben

OK,
now the driver compile and load without any problem and the wlan0 and master0 devices are created.
There are no error in dmesg, but I can't scan for stations, iwlist wlan0 scan
says there are no active stations.
Do I need extra modules for scanning?
I'm using an Atheros AR2413, is this device supposed to work with the ath5k module?

Quoted 3 lines

That's exactly the situation that I do encounter myself because I'm using the same chipset. I have tried a preview snapshot of the ath5k driver which is not public yet, and for that one scanning works!

Where can I get that preview snapshot of ath5k?
I could test it.

Quoted 11 lines

However, data
transmission doesn't work yet. The main developer is about to resume work on the driver after a break since late December, and he has some pending stuff which needs to be merged with the development tree. Stay tuned, this should be a matters of days. Any significant update will be announced on the wireless list anyway. There are many people out there eagerly waiting for this to happen ...

Cheers,

JF

I'll stay tuned as you suggest.
Best regards,
Fabio

Quoted 11 lines

Luis R. Rodriguez wrote:

You need to turn your interface up first:

ip link set wlan0 up

Or

ifconfig wlan0 up

Luis

The interface is up and running, but somehow it seems missing the beacon packets.
Best regards,
Fabio

#6 lore raw
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines

OK,
now the driver compile and load without any problem and the wlan0 and master0 devices are created.
There are no error in dmesg, but I can't scan for stations, iwlist wlan0 scan
says there are no active stations.
Do I need extra modules for scanning?
I'm using an Atheros AR2413, is this device supposed to work with the ath5k module?

Quoted 4 lines

The interface is up and running, but somehow it seems missing the beacon packets.
Best regards,
Fabio

AR2413 is not yet properly supported in ath5k. The last statement about this is from 15.02.2008, where Nick Kossifidis said:

"Sorry for delaying the relevant patches, i'm working with the 2413 card i got from Mike to make it work and it'll take some time (not as easy as i thought, i probably miss something)..."

I am waiting for this PHY to get supported, too.

Richard