Skip to contentSkip to conversation

What should setting rate on 'AP' interface mean?

DISCUSSION Ben Greear 2 participants 3 messages Oct 10, 2017 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I was trying to use 'iw' to set rates on an AP interface, hoping it would set tx-rates on all of the stations (peers) to the same thing.

It appears that the ath10k driver will set ratesets on all stations if we specify more than one rate, but if we specify a single rate, it does not iterate through all stations, and just sets the 'vdev' fixed rate.

So, should the driver somehow attempt to set single rate on all the stations when using a single rate?

Or, do we need an API to force rates for individual stations (peers) and leave the driver in the current configuration?

Or is it the firmware's responsibility to set the rate for all peers when we set the vdev fixed rate on an AP vdev?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw

Hi,

IIRC, I think it's the drivers job to determine per-peer fixed rate.

-adrian

Quoted 25 lines · Ben Greear

I was trying to use 'iw' to set rates on an AP interface, hoping it would set tx-rates on all of the stations (peers) to the same thing.

It appears that the ath10k driver will set ratesets on all stations if we specify more than one rate, but if we specify a single rate, it does not iterate through all stations, and just sets the 'vdev' fixed rate.

So, should the driver somehow attempt to set single rate on all the stations when
using a single rate?

Or, do we need an API to force rates for individual stations (peers) and leave
the driver in the current configuration?

Or is it the firmware's responsibility to set the rate for all peers when we set the vdev fixed rate on an AP vdev?

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

author
#2 lore raw
Quoted 3 lines · Adrian Chadd

Hi,

IIRC, I think it's the drivers job to determine per-peer fixed rate.

From poking at the 10.1 firmware source, seems that setting fixed RC on the vdev should over-ride all of the stations, but it did not appear to be working as expected...

While trying to debug that, I hit a kernel lockup on rmmod ...it is hard to make progress some days!

Thanks,
Ben

Quoted 33 lines

-adrian

Quoted 25 lines · Ben Greear

I was trying to use 'iw' to set rates on an AP interface, hoping it would set tx-rates on all of the stations (peers) to the same thing.

It appears that the ath10k driver will set ratesets on all stations if we specify more than one rate, but if we specify a single rate, it does not iterate through all stations, and just sets the 'vdev' fixed rate.

So, should the driver somehow attempt to set single rate on all the stations when
using a single rate?

Or, do we need an API to force rates for individual stations (peers) and leave
the driver in the current configuration?

Or is it the firmware's responsibility to set the rate for all peers when we set the vdev fixed rate on an AP vdev?

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com