qcacmn: Add security info in scan entry
Add security info in scan entry and print the same. Change-Id: If8f0c05a526b86cb3ae0020c2e144beb3510cb98 CRs-Fixed: 2603004
这个提交包含在:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -359,6 +359,11 @@ struct reduced_neighbor_report {
|
||||
struct rnr_bss_info bss_info[MAX_RNR_BSS];
|
||||
};
|
||||
|
||||
#define SCAN_SECURITY_TYPE_WEP 0x01
|
||||
#define SCAN_SECURITY_TYPE_WPA 0x02
|
||||
#define SCAN_SECURITY_TYPE_WAPI 0x04
|
||||
#define SCAN_SECURITY_TYPE_RSN 0x08
|
||||
|
||||
/**
|
||||
* struct scan_cache_entry: structure containing scan entry
|
||||
* @frm_subtype: updated from beacon/probe
|
||||
@@ -366,6 +371,7 @@ struct reduced_neighbor_report {
|
||||
* @mac_addr: mac address
|
||||
* @ssid: ssid
|
||||
* @is_hidden_ssid: is AP having hidden ssid.
|
||||
* @security_type: security supported
|
||||
* @seq_num: sequence number
|
||||
* @phy_mode: Phy mode of the AP
|
||||
* @avg_rssi: Average RSSI of the AP
|
||||
@@ -409,6 +415,7 @@ struct scan_cache_entry {
|
||||
struct qdf_mac_addr mac_addr;
|
||||
struct wlan_ssid ssid;
|
||||
bool is_hidden_ssid;
|
||||
uint8_t security_type;
|
||||
uint16_t seq_num;
|
||||
enum wlan_phymode phy_mode;
|
||||
int32_t avg_rssi;
|
||||
|
在新工单中引用
屏蔽一个用户