linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211-hwsim question
@ 2014-10-23 16:53 Ben Greear
  2014-10-23 17:19 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2014-10-23 16:53 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

>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@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mac80211-hwsim question
  2014-10-23 16:53 mac80211-hwsim question Ben Greear
@ 2014-10-23 17:19 ` Johannes Berg
  2014-10-23 17:21   ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2014-10-23 17:19 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-wireless@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mac80211-hwsim question
  2014-10-23 17:19 ` Johannes Berg
@ 2014-10-23 17:21   ` Ben Greear
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Greear @ 2014-10-23 17:21 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless@vger.kernel.org

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@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-23 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 16:53 mac80211-hwsim question Ben Greear
2014-10-23 17:19 ` Johannes Berg
2014-10-23 17:21   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).