projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ieee80211: use tab to indent struct ieee80211_neighbor_ap_info
[carl9170fw.git]
/
include
/
linux
/
ieee80211.h
diff --git
a/include/linux/ieee80211.h
b/include/linux/ieee80211.h
index a7ec072143e9501dddb3d54e52e92114361c627d..60b16bd0e255b128b3b3ca1e1816b3867e7705bb 100644
(file)
--- a/
include/linux/ieee80211.h
+++ b/
include/linux/ieee80211.h
@@
-2446,7
+2446,7
@@
struct ieee80211_tx_pwr_env {
static inline u8
ieee80211_he_oper_size(const u8 *he_oper_ie)
{
static inline u8
ieee80211_he_oper_size(const u8 *he_oper_ie)
{
-
struct ieee80211_he_operation *he_oper = (
void *)he_oper_ie;
+
const struct ieee80211_he_operation *he_oper = (const
void *)he_oper_ie;
u8 oper_len = sizeof(struct ieee80211_he_operation);
u32 he_oper_params;
u8 oper_len = sizeof(struct ieee80211_he_operation);
u32 he_oper_params;
@@
-2479,7
+2479,7
@@
ieee80211_he_oper_size(const u8 *he_oper_ie)
static inline const struct ieee80211_he_6ghz_oper *
ieee80211_he_6ghz_oper(const struct ieee80211_he_operation *he_oper)
{
static inline const struct ieee80211_he_6ghz_oper *
ieee80211_he_6ghz_oper(const struct ieee80211_he_operation *he_oper)
{
- const u8 *ret = (void *)&he_oper->optional;
+ const u8 *ret = (
const
void *)&he_oper->optional;
u32 he_oper_params;
if (!he_oper)
u32 he_oper_params;
if (!he_oper)
@@
-2494,7
+2494,7
@@
ieee80211_he_6ghz_oper(const struct ieee80211_he_operation *he_oper)
if (he_oper_params & IEEE80211_HE_OPERATION_CO_HOSTED_BSS)
ret++;
if (he_oper_params & IEEE80211_HE_OPERATION_CO_HOSTED_BSS)
ret++;
- return (void *)ret;
+ return (
const
void *)ret;
}
/* HE Spatial Reuse defines */
}
/* HE Spatial Reuse defines */
@@
-2515,7
+2515,7
@@
ieee80211_he_6ghz_oper(const struct ieee80211_he_operation *he_oper)
static inline u8
ieee80211_he_spr_size(const u8 *he_spr_ie)
{
static inline u8
ieee80211_he_spr_size(const u8 *he_spr_ie)
{
-
struct ieee80211_he_spr *he_spr = (
void *)he_spr_ie;
+
const struct ieee80211_he_spr *he_spr = (const
void *)he_spr_ie;
u8 spr_len = sizeof(struct ieee80211_he_spr);
u8 he_spr_params;
u8 spr_len = sizeof(struct ieee80211_he_spr);
u8 he_spr_params;
@@
-3935,10
+3935,10
@@
static inline bool for_each_element_completed(const struct element *element,
#define IEEE80211_RNR_TBTT_PARAMS_COLOC_AP 0x40
struct ieee80211_neighbor_ap_info {
#define IEEE80211_RNR_TBTT_PARAMS_COLOC_AP 0x40
struct ieee80211_neighbor_ap_info {
- u8 tbtt_info_hdr;
- u8 tbtt_info_len;
- u8 op_class;
- u8 channel;
+ u8 tbtt_info_hdr;
+ u8 tbtt_info_len;
+ u8 op_class;
+ u8 channel;
} __packed;
enum ieee80211_range_params_max_total_ltf {
} __packed;
enum ieee80211_range_params_max_total_ltf {