Skip to contentSkip to conversation

"iw": two small questions

DISCUSSION Stefano Cappa 3 participants 3 messages Jan 29, 2015

lore
Share & tools
lore
#0 lore raw

SGksIGkndmUgdHdvIHF1ZXN0aW9uIGFib3V0IGl3CgoxKSBJdCdzIHBvc3NpYmlsZSB0aGF0wqAi aXcgcGh5IHBoeTAgaW5mb+KAiyIgc2FpZCB0aGF0IGkgY2FuIHVzZSBhIHBhcnRpY3VsYXIgY29t YmluYXRpb24gb2YgaW50ZXJmYWNlcyBpbiAiVmFsaWQgaW50ZXJmYWNlIGNvbWJpbmF0aW9ucyIg YnV0IG9uIG15IGRldmljZSBpIGNhbid0IHVzZSB0aGlzIGNvbWJpbmF0aW9uPyBJZiB5ZXMsIHRo ZSBwcm9ibGVtIGlzIHdpdGggdGhlIGRyaXZlciBvZiB0aGlzIGRldmljZT8KCjIpIEhvdyBpdyBv YnRhaW5zIHTigItoZSBpbmZvcm1hdGlvbsKgdG8gcHJpbnQgIlZhbGlkIGludGVyZmFjZSBjb21i aW5hdGlvbnMiPyBpdyBhc2tzIHRoaXMgaW5mb3JtYXRpb24gdG8gdGhlIGRyaXZlci9oYXJkd2Fy ZS9vciBzb21ldGhpbmcgZWxzZcKgPwoKClRoYW5rIHUgdmVyeSBtdWNoLApTdGVmYW5v4oCLCgoK ICAgIA==

#1 lore raw
Quoted 7 lines · Stefano Cappa

Hi, i've two question about iw

1) It's possibile that "iw phy phy0 info" said that i can use a particular combination of interfaces in "Valid interface combinations" but on my device i can't use this combination? If yes, the problem is with the driver of this device?

2) How iw obtains the information to print "Valid interface combinations"? iw asks this information to the driver/hardware/or something else ?

Yes, it talks to the device driver and gets the combinations which the device supports.

#2 lore raw
In reply to Stefano Cappa
Quoted 1 line · Stefano Cappa

1) It's possibile that "iw phy phy0 info" said that i can use a particular combination of interfaces in "Valid interface combinations" but on my device i can't use this combination? If yes, the problem is with the driver of this device?

Could happen. @add_virtual_intf (see struct cfg80211_ops) can fail.

Quoted 1 line

2) How iw obtains the information to print "Valid interface combinations"? iw asks this information to the driver/hardware/or something else ?

See "struct wiphy" and its
const struct ieee80211_iface_combination *iface_combinations;

Signature · 1 line
Rafał