[PATCH 3/4] Use correct sta_index and dpu_desc_index

Eugene Krasnikov k.eugene.e at gmail.com
Mon May 27 08:46:09 EDT 2013


> Missing break.

Good point. Will fix that.
> It looks like the "current_vif" is only there to keep track between
> the req and rsp? Can't we have it as a parameter to the add_sta_self
> function instead if that is the case?

Yes and no:)
The thing is that we also need to support multiple interfaces. And
unfortunately hardware does not support it properly. Hardware API
should have sta_index in all req/rsp but it does not. Also you are
right the only way to bind req and rsp so far is wcn structure. If you
see other way could you please provide a code snippet how do you think
it should look like or even a patch?:)

--
Best regards,
Eugene



More information about the wcn36xx mailing list