From 0f4ad7dc5fc9a6002c7d7147d8f7345a17a01a00 Mon Sep 17 00:00:00 2001 From: Masatoshi Ueno Date: Mon, 2 Nov 2020 18:45:32 +0900 Subject: [PATCH] gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information Summary: - This commit enables gs2200m application to get IWNWID/IWFREQ/IWSENS information Impact: - Affects gs2200m only Testing: - Tested with spresense:wifi --- wireless/gs2200m/gs2200m_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c index 5865aaf3e..22373686d 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -42,6 +42,7 @@ #include #include +#include #include /**************************************************************************** @@ -1518,6 +1519,9 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv, { case SIOCGIFADDR: case SIOCGIFHWADDR: + case SIOCGIWNWID: + case SIOCGIWFREQ: + case SIOCGIWSENS: getreq = true; break;