From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH v2] wcn36xx: Add support for Factory Test Mode (FTM) Date: Tue, 22 May 2018 16:57:09 +0300 Message-ID: <87a7srvlmy.fsf@purkki.adurom.net> References: <20180518103122.28439-1-ramon.fried@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jjohnson@codeaurora.org, linux-kernel@vger.kernel.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Eyal Ilsar , Ramon Fried To: Ramon Fried Return-path: In-Reply-To: <20180518103122.28439-1-ramon.fried@gmail.com> (Ramon Fried's message of "Fri, 18 May 2018 13:31:22 +0300") Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Ramon Fried writes: > From: Eyal Ilsar > > Introduce infrastructure for supporting Factory Test Mode (FTM) of the > wireless LAN subsystem. In order for the user space to access the > firmware in test mode the relevant netlink channel needs to be exposed > from the kernel driver. > > The above is achieved as follows: > 1) Register wcn36xx driver to testmode callback from netlink > 2) Add testmode callback implementation to handle incoming FTM commands > 3) Add FTM command packet structure > 4) Add handling for GET_BUILD_RELEASE_NUMBER (msgid=0x32A2) > 5) Add generic handling for all PTT_MSG packets > > Signed-off-by: Eyal Ilsar > Signed-off-by: Ramon Fried kbuild bot reported a warning: drivers/net/wireless/ath/wcn36xx/testmode.c:122:5: warning: 'msg' may be used uninitialized in this function [-Wmaybe-uninitialized] -- Kalle Valo