Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp405052rdb; Thu, 18 Jan 2024 07:06:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAr2zn1UH9/rj32/2RHW9SaC39ujd2I1QLbdMw9C1R53trXu0uiae/mdejtq98NwIrMxln X-Received: by 2002:a17:906:9c8c:b0:a2f:2963:ad7a with SMTP id fj12-20020a1709069c8c00b00a2f2963ad7amr649641ejc.130.1705590378494; Thu, 18 Jan 2024 07:06:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705590378; cv=pass; d=google.com; s=arc-20160816; b=YExDRe/k2VCcMCM+q1OdBHq/5ON5zzgG1dJ1GYNy6a6sw7PV2Z/uAwjhRkq2gEwfdF U0kcjVKMlllMbpLoTMZQ0QCFZIjmiZ7we/F0QF/QBL0+4rlU2pxTIEJwq5upnwiYv4g8 1ZCP6uT5uWWTKmvHJ64t0lWCjQ704kdXmH6Tqlty5uPZxInnx2dkhYD51WA+/vDdprmr vV3GO3jRHukmlWs//5qcjnMgke7Blj6XB7PFz09s/iwHXih0rNX1qty+sLVhzUzLVeGl 4rICBwNHmCzdahh/GuTeTrvAnbI5H2RX/rF0osw7xRGpVVAJpHg1qhXCdNN5AqbUit/7 1T2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=JHYltYrNm0LSrPtFLfYTp9VB0V+HBMgt8p9V+fPk66o=; fh=aCuTaZ/vC0DAWyY1bD3ZoQtNOFxGOAxVVxxYVVHY1Sw=; b=wClRY3R9tVMj6g48VA1bznWStEp5WX+yoIVr1ga3KNs4mQBJ+0aN4mk7f7q8MV0kBd hSwyPAxoA51BPZxPo4HRxsCJFqz4lNXOOQjMsrgLNd6/ccpnGP2KPXH2XQx5AmjFzw+e /BRizAP5dwA6lO3mY5fwu6iuF2dZXUlgXx1iu34Kxw1cC8D7a1PoM7bnT4x1aOWaXrSg 0LfdfxQqlLQqBg5VMMNVelTimKmfuwiYDA2P/rYSZwoMwObwyGcWez6x86f8ZmeY1s76 FtOQK7aamNBsL7dXey/IlO48XdmTGryFZeKnqD1mH1dDvvdzEgRPfsj/7fWKXRWkqxU5 u6xQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=nHXYz2pl; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o19-20020a1709061d5300b00a2d45483ad2si4495693ejh.976.2024.01.18.07.06.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:06:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=nHXYz2pl; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6322C1F2125C for ; Thu, 18 Jan 2024 15:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAB1224B40; Thu, 18 Jan 2024 15:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="nHXYz2pl" X-Original-To: linux-wireless@vger.kernel.org Received: from forward200b.mail.yandex.net (forward200b.mail.yandex.net [178.154.239.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 749E224B32 for ; Thu, 18 Jan 2024 15:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705590358; cv=none; b=tpz7Fv9RXYDzfjN3Vgd+NkesC4Or25F3xzTV10+053iRf2UsBhoAHZYhrCBTs0YbWhdbJriKjwQJmtmo4ZmvFA8IVX2B7wnpgRXmweleKksleeQMIzwHnCOFjvgV0QwEDIJ8vFprP/NaSEMSW8vvHv9PDiNx05fDSRrHVhLKYXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705590358; c=relaxed/simple; bh=wlg+32wkP/mxkl2TgNvs3eOPyg85YtOlXAs+J1AfJqU=; h=Received:Received:Received:X-Yandex-Fwd:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; b=Ll+3AJXLwnNmI+FjG3EpFNbJx6t84lzGNrXaXdZBaDe9lvhBYTZL0RwWbzXOfWjn5ITAg+EEQOXwYqbMNVQilwwknWfLwnPrAcXWZP1pzyrDsN5YGLsbHDQhKe6673ZMGorDHe+wK/hMl0egeI2TmBoDMai10O7QI5Oa8OUl7yM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=nHXYz2pl; arc=none smtp.client-ip=178.154.239.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Received: from forward101b.mail.yandex.net (forward101b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d101]) by forward200b.mail.yandex.net (Yandex) with ESMTPS id BDBA7647BB for ; Thu, 18 Jan 2024 17:59:02 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:1f91:0:640:de02:0]) by forward101b.mail.yandex.net (Yandex) with ESMTP id EE23660AE9; Thu, 18 Jan 2024 17:58:54 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id rwOuU2f7a0U0-oSPw3MUa; Thu, 18 Jan 2024 17:58:54 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1705589934; bh=JHYltYrNm0LSrPtFLfYTp9VB0V+HBMgt8p9V+fPk66o=; h=Message-ID:Date:Cc:Subject:To:From; b=nHXYz2pl9qtT7hePXTvgIUn1s4bApxjR3nV6BWY2RTa96/oWmtzBg3trFzfp59p9+ XTCRDs5rUo8uIvXjNzCrSWaHWTFd1FJe9aBpTUvlAR19o/n4wbsFJCWZcJDarZHMNN efWX3VurzCMQjB9kkPoUYX7zYXNcPdrrwxd5WXdI= Authentication-Results: mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Brian Norris Cc: David Lin , Kalle Valo , linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH] wifi: mwifiex: cleanup SSID-related data types Date: Thu, 18 Jan 2024 17:57:12 +0300 Message-ID: <20240118145715.475513-1-dmantipov@yandex.ru> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Drop unused 'struct mwifiex_ssid_bssid' and replace custom 'struct mwifiex_802_11_ssid' with generic 'struct cfg80211_ssid' as a member of 'struct mwifiex_uap_bss_param'. Compile tested only. Signed-off-by: Dmitry Antipov --- drivers/net/wireless/marvell/mwifiex/decl.h | 5 ----- drivers/net/wireless/marvell/mwifiex/ioctl.h | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/net/wireless/marvell/mwifiex/decl.h b/drivers/net/wireless/marvell/mwifiex/decl.h index 326ffb05d791..ac23fa0ae0e7 100644 --- a/drivers/net/wireless/marvell/mwifiex/decl.h +++ b/drivers/net/wireless/marvell/mwifiex/decl.h @@ -161,11 +161,6 @@ struct mwifiex_fw_image { u32 fw_len; }; -struct mwifiex_802_11_ssid { - u32 ssid_len; - u8 ssid[IEEE80211_MAX_SSID_LEN]; -}; - struct mwifiex_wait_queue { wait_queue_head_t wait; int status; diff --git a/drivers/net/wireless/marvell/mwifiex/ioctl.h b/drivers/net/wireless/marvell/mwifiex/ioctl.h index e8825f302de8..3ce41dafd515 100644 --- a/drivers/net/wireless/marvell/mwifiex/ioctl.h +++ b/drivers/net/wireless/marvell/mwifiex/ioctl.h @@ -37,11 +37,6 @@ struct mwifiex_chan_freq { u32 freq; }; -struct mwifiex_ssid_bssid { - struct cfg80211_ssid ssid; - u8 bssid[ETH_ALEN]; -}; - enum { BAND_B = 1, BAND_G = 2, @@ -88,7 +83,7 @@ struct mwifiex_uap_bss_param { u16 rts_threshold; u16 frag_threshold; u8 retry_limit; - struct mwifiex_802_11_ssid ssid; + struct cfg80211_ssid ssid; u8 bcast_ssid_ctl; u8 radio_ctl; u8 dtim_period; -- 2.43.0