Discussion:
mac80211-hwsim question
Ben Greear
2014-10-23 16:53:10 UTC
Permalink
>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

--
Ben Greear <greearb-my8/4N5VtI7c+***@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Johannes Berg
2014-10-23 17:19:05 UTC
Permalink
On Thu, 2014-10-23 at 09:53 -0700, Ben Greear wrote:
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Ben Greear
2014-10-23 17:21:54 UTC
Permalink
On 10/23/2014 10:19 AM, Johannes Berg wrote:
> On Thu, 2014-10-23 at 09:53 -0700, Ben Greear wrote:
>> 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

--
Ben Greear <greearb-my8/4N5VtI7c+***@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com

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