On 30 January 2015 at 13:58, Johannes Berg <[email protected]> wrote:
>
>> +++ b/drivers/net/wireless/ath/ath10k/core.h
>
>> @@ -277,6 +282,7 @@ struct ath10k_vif {
>>       dma_addr_t beacon_paddr;
>>
>>       struct ath10k *ar;
>> +     struct ath10k_chanctx *arctx;
>
> you also have vif->chanctx_conf pointer, which you could use
>
> ultimately it's a software architecture decision - personally I wouldn't
> want to duplicate all that data and the lists etc. in the driver when
> mac80211 has them, but that's just my opinion. :)

I'm a bit reluctant to freely use mac80211 owned structures out of
mac80211_ops callback context, i.e. from a tasklet fearing
inconsistencies. Or am I worrying unnecessarily? If so I guess I'll
redo this and use mac80211's structures directly :-)


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

Reply via email to