Re: [PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Lorenzo Bianconi
> On Fri, Nov 09, 2018 at 02:31:31PM +0100, Lorenzo Bianconi wrote: > > > > > > Anyway I think, to support MAC address change, we should not filter > > > based on MAC address, but maybe only on BSSID ? > > > > > > Thanks > > > Stanislaw > > > > You can create the interface with a given mac

Re: [PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Stanislaw Gruszka
On Fri, Nov 09, 2018 at 02:31:31PM +0100, Lorenzo Bianconi wrote: > > > > Anyway I think, to support MAC address change, we should not filter > > based on MAC address, but maybe only on BSSID ? > > > > Thanks > > Stanislaw > > You can create the interface with a given mac address > > # iw phy

Re: [PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Lorenzo Bianconi
> [root@dhcp-27-155 ~]# iw dev > phy#1 > Interface wlan1 > ifindex 10 > wdev 0x10001 > addr 2c:4d:54:cb:d8:04 > type managed > [root@dhcp-27-155 ~]# ip link set addres b0:6e:bf:a5:31:90 wlan1 > [root@dhcp-27-155 ~]# iw dev wlan1

Re: [PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Stanislaw Gruszka
On Fri, Nov 09, 2018 at 12:26:51PM +0100, Lorenzo Bianconi wrote: > > @@ -52,9 +52,6 @@ static int mt76x2u_add_interface(struct ieee80211_hw *hw, > > struct mt76x02_dev *dev = hw->priv; > > unsigned int idx = 8; > > > > - if (!ether_addr_equal(dev->mt76.macaddr, vif->addr)) > > -

Re: [PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Lorenzo Bianconi
> Configure multi bss mode by default on all devices. That mean we > use MAC address for MT_MAC_BSSID_DW and use MT_MAC_APC_BSSID > for configuree bssid for each vif. > > This is separe from beaconing as we can have for example 2 STA vifs, > so do not mix bssid init and beacon init. > >

[PATCH 2/5] mt76x02: initalize mutli bss mode by default

2018-11-09 Thread Stanislaw Gruszka
Configure multi bss mode by default on all devices. That mean we use MAC address for MT_MAC_BSSID_DW and use MT_MAC_APC_BSSID for configuree bssid for each vif. This is separe from beaconing as we can have for example 2 STA vifs, so do not mix bssid init and beacon init. Signed-off-by: Stanislaw