Skip to contentSkip to conversation

HW Address Filter

DISCUSSION Martin Townsend 1 participant 2 messages May 8, 2015 IEEE 802.15.4

lore
Share & tools
lore
#0 lore raw

Hi Alex,

In my driver I have a set_hw_addr_filt ieee802154_ops but it doesn't seem to get called. I setup the interface using

iwpan phy phy0 interface add wpan0 type node 00:03:9a:00:00:00:01:2c iwpan dev wpan0 set pan_id 0x0777
iwpan dev wpan0 set short_addr 0x012c
iwpan phy phy0 set channel 0 11
ip link add link wpan0 name lowpan0 type lowpan
ifconfig lowpan0 up
ifconfig wpan0 up

I thought the first 3 lines would trigger the setting up of the HW address filter or do I need to do something else?

- Martin.

#1 lore raw

Hi Alex,

False alarm, I needed to add the new IEEE802154_HW_XXX flags to my driver. All is working now.

- Martin.

Quoted 21 lines · Martin Townsend

Hi Alex,

In my driver I have a set_hw_addr_filt ieee802154_ops but it doesn't seem to get called. I setup the interface using

iwpan phy phy0 interface add wpan0 type node 00:03:9a:00:00:00:01:2c iwpan dev wpan0 set pan_id 0x0777
iwpan dev wpan0 set short_addr 0x012c
iwpan phy phy0 set channel 0 11
ip link add link wpan0 name lowpan0 type lowpan
ifconfig lowpan0 up
ifconfig wpan0 up

I thought the first 3 lines would trigger the setting up of the HW address filter or do I need to do something else?

- Martin.

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html