Skip to contentSkip to conversation

HT info in probe requests?

DISCUSSION Johannes Berg 2 participants 3 messages Apr 26, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I just found code in iwl4965 to add HT info to probe requests, shouldn't that also be in mac80211?

Since the probe request building code in ieee80211_send_probe_req and iwl4965_fill_probe_req are pretty much equivalent, shouldn't we refactor ieee80211_send_probe_req, export it the probe request building function and make iwlwifi use it?

johannes

#1 lore raw

T24gVGh1LCBBcHIgMjQsIDIwMDggYXQgNjowOSBQTSwgSm9oYW5uZXMgQmVyZwo8am9oYW5uZXNA c2lwc29sdXRpb25zLm5ldD4gd3JvdGU6Cj4gSGksCj4KPiAgSSBqdXN0IGZvdW5kIGNvZGUgaW4g aXdsNDk2NSB0byBhZGQgSFQgaW5mbyB0byBwcm9iZSByZXF1ZXN0cywgc2hvdWxkbid0Cj4gIHRo YXQgYWxzbyBiZSBpbiBtYWM4MDIxMT8KPgo+ICBTaW5jZSB0aGUgcHJvYmUgcmVxdWVzdCBidWls ZGluZyBjb2RlIGluIO+7v2llZWU4MDIxMV9zZW5kX3Byb2JlX3JlcSBhbmQKPiAgaXdsNDk2NV9m aWxsX3Byb2JlX3JlcSBhcmUgcHJldHR5IG11Y2ggZXF1aXZhbGVudCwgc2hvdWxkbid0IHdlIHJl ZmFjdG9yCj4gIO+7v2llZWU4MDIxMV9zZW5kX3Byb2JlX3JlcSwgZXhwb3J0IGl0IHRoZSBwcm9i ZSByZXF1ZXN0IGJ1aWxkaW5nIGZ1bmN0aW9uCj4gIGFuZCBtYWtlIGl3bHdpZmkgdXNlIGl0Pwo+ ClNvdW5kcyBnb29kIHRvIG1lLCBidXQgdGhlcmUgYXJlIGxpdHRsZSBxdWlya3MgYXMgaXdsd2lm aSBzdXBwb3J0cwpzY2FubmluZyB3aXRoIG11bHRpcGxlIFNTSURzIGluIHByb2JlCkkgd291bGQg bGlrZSB0byB2ZXJ5IG11Y2ggcHJlc2VydmUuIFRoaXMgc3BlZWRzIHVwIHNjYW5uaW5nCnNpZ25p ZmljYW50bHkuIEhvcGVmdWxseSBpdCB3aWxsIGJlIHV0aWxpemVkIGluIG5sODAyMTEuCgpUb21h cwo=

#2 lore raw
Quoted 12 lines · Tomas Winkler
Quoted 10 lines · Johannes Berg

Hi,

I just found code in iwl4965 to add HT info to probe requests, shouldn't that also be in mac80211?

Since the probe request building code in ieee80211_send_probe_req and iwl4965_fill_probe_req are pretty much equivalent, shouldn't we refactor ieee80211_send_probe_req, export it the probe request building function and make iwlwifi use it?

Quoted 4 lines

Sounds good to me, but there are little quirks as iwlwifi supports scanning with multiple SSIDs in probe
I would like to very much preserve. This speeds up scanning significantly. Hopefully it will be utilized in nl80211.

Can you actually give multiple SSIDs in a probe request though? I wouldn't think so so you'd just have to give multiple SSIDs to the hw scan function.

johannes