Re: Undocumented Sleep Requirements for ieee80211_ops

2015-10-30 Thread Krishna Chaitanya
On Fri, Oct 30, 2015 at 3:07 PM, Johannes Berg wrote: > On Thu, 2015-10-29 at 12:16 +0530, Krishna Chaitanya wrote: >> Hi, >> >> From the documentation:(mac80211.h) For the ieee80211_ops >> (un)assign_vif_chanctx, there is no mention of explicit sleep >> requirements (allowed/disallwoed) for the c

Re: Undocumented Sleep Requirements for ieee80211_ops

2015-10-30 Thread Johannes Berg
On Thu, 2015-10-29 at 12:16 +0530, Krishna Chaitanya wrote: > Hi, > > From the documentation:(mac80211.h) For the ieee80211_ops > (un)assign_vif_chanctx, there is no mention of explicit sleep > requirements (allowed/disallwoed) for the callback. Same goes for drv_switch_vif_chanctx(). > From a q

Undocumented Sleep Requirements for ieee80211_ops

2015-10-28 Thread Krishna Chaitanya
Hi, >From the documentation:(mac80211.h) For the ieee80211_ops (un)assign_vif_chanctx, there is no mention of explicit sleep requirements (allowed/disallwoed) for the callback. >From a quick glance at the code calling the OP, looks like we can sleep (mutexes are used). So how should we handle suc