]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: Group radios
authorDaniel Wagner <wagi@monom.org>
Mon, 18 May 2009 17:49:25 +0000 (19:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:29 +0000 (14:46 -0400)
commit50d5c61e7ba6ee0018668bf9ba8a2437b2a27383
treef64c63650fa78641c9438e859778c45d915cc8d8
parentc0cb1943b82b7ac5af2ec0620a0243de320bcda7
mac80211_hwsim: Group radios

Currently all radios receive all traffic on the simulated air
if they are tuned to the same channel. This patch introduces
the concept of grouping, which allows to assign a radio to
certain group. Only radios in the same group can 'see' each other.

Each bit in /debug/ieee80211/phy*/hwsim/group
represents one group. By default all radios belong to the same group "1",
e.g. bit 1 is set. Additionally a radio can belong to several groups.

Signed-off-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c