FILE
testmode.h
File preview with syntax highlighting.
linux-6.19.14/drivers/net/wireless/ath/ath12k/testmode.h
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */ 2/* 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 5 */ 6 7#include "core.h" 8#include "hif.h" 9 10#ifdef CONFIG_NL80211_TESTMODE 11 12void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id, 13 struct sk_buff *skb); 14void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id, 15 const struct ath12k_wmi_ftm_event *ftm_msg, 16 u16 length); 17int ath12k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 18 void *data, int len); 19 20#else 21 22static inline void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id, 23 struct sk_buff *skb) 24{ 25} 26 27static inline void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id, 28 const struct ath12k_wmi_ftm_event *msg, 29 u16 length) 30{ 31} 32 33static inline int ath12k_tm_cmd(struct ieee80211_hw *hw, 34 struct ieee80211_vif *vif, 35 void *data, int len) 36{ 37 return 0; 38} 39 40#endif
~/
Read-only file preview.