Re: [PATCH 02/10] mt76: move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid in mt76x02_util.c

2018-10-02 Thread Lorenzo Bianconi
> > EXPORT_SYMBOL_GPL(mt76x02_set_beacon_offsets); > > > > +struct mt76x02_sta * > > +mt76x02_rx_get_sta(struct mt76_dev *dev, u8 idx) > > +{ > > + struct mt76_wcid *wcid; > > + > > + if (idx >= ARRAY_SIZE(dev->wcid)) > > + return NULL; > > + > > + wcid =

Re: [PATCH 02/10] mt76: move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid in mt76x02_util.c

2018-10-01 Thread Felix Fietkau
On 2018-10-02 00:19, Lorenzo Bianconi wrote: > Move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid utility routines in > mt76x02-lib module since it will be used by mt76x0 driver in order to > unify rxwi parsing > > Signed-off-by: Lorenzo Bianconi > --- >

[PATCH 02/10] mt76: move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid in mt76x02_util.c

2018-10-01 Thread Lorenzo Bianconi
Move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid utility routines in mt76x02-lib module since it will be used by mt76x0 driver in order to unify rxwi parsing Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt76x02_util.c | 29 +