mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
wpan-phy: allow specifying a per-page channel mask
IEEE 802.15.4-2006 defines channel pages that hold channels (max 32 pages, 27 channels per page). Allow the driver to specify supported channels on pages, other than the first one. Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
This commit is contained in:
parent
375bb0e04b
commit
a0b4a738e0
3 changed files with 21 additions and 3 deletions
|
|
@ -356,7 +356,7 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
|
|||
dev->addr_len);
|
||||
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
|
||||
|
||||
phy->channels_supported = (1 << 27) - 1;
|
||||
phy->channels_supported[0] = (1 << 27) - 1;
|
||||
phy->transmit_power = 0xbf;
|
||||
|
||||
dev->netdev_ops = &fake_ops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue