Skip to contentSkip to conversation

mac80211-hwsim question

DISCUSSION Ben Greear 2 participants 3 messages Oct 23, 2014

lore
Share & tools
lore

Ben Greear

author
#0 lore raw
Quoted 1 line

From what I can tell, when hwsim sends frames to wmediumd using netlink sockets,

it does not include any channel/frequency information in the netlink packet.

Any reason not to add that?

Thanks,
Ben

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

From what I can tell, when hwsim sends frames to wmediumd using netlink sockets, it does not include any channel/frequency information in the netlink packet.

Any reason not to add that?

I guess it wasn't needed, and when you "RX" a frame from netlink it uses the current channel that the radio is tuned to.

That, however, will actually fail with the multi-channel option, so more work is clearly needed for that.

johannes

author
#2 lore raw
Quoted 11 lines · Johannes Berg
Quoted 4 lines · Ben Greear

From what I can tell, when hwsim sends frames to wmediumd using netlink sockets, it does not include any channel/frequency information in the netlink packet.

Any reason not to add that?

I guess it wasn't needed, and when you "RX" a frame from netlink it uses the current channel that the radio is tuned to.

That, however, will actually fail with the multi-channel option, so more work is clearly needed for that.

I need this for my purposes, so I'll work on adding this sometime soonish unless someone beats me to it.

Thanks,
Ben

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