xref: /freebsd/sys/contrib/dev/iwlwifi/iwl-phy-db.h (revision bfcc09ddd422c95a1a2e4e794b63ee54c4902398)
1*bfcc09ddSBjoern A. Zeeb /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2*bfcc09ddSBjoern A. Zeeb /*
3*bfcc09ddSBjoern A. Zeeb  * Copyright (C) 2005-2014 Intel Corporation
4*bfcc09ddSBjoern A. Zeeb  */
5*bfcc09ddSBjoern A. Zeeb #ifndef __IWL_PHYDB_H__
6*bfcc09ddSBjoern A. Zeeb #define __IWL_PHYDB_H__
7*bfcc09ddSBjoern A. Zeeb 
8*bfcc09ddSBjoern A. Zeeb #include <linux/types.h>
9*bfcc09ddSBjoern A. Zeeb 
10*bfcc09ddSBjoern A. Zeeb #include "iwl-op-mode.h"
11*bfcc09ddSBjoern A. Zeeb #include "iwl-trans.h"
12*bfcc09ddSBjoern A. Zeeb 
13*bfcc09ddSBjoern A. Zeeb struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans);
14*bfcc09ddSBjoern A. Zeeb 
15*bfcc09ddSBjoern A. Zeeb void iwl_phy_db_free(struct iwl_phy_db *phy_db);
16*bfcc09ddSBjoern A. Zeeb 
17*bfcc09ddSBjoern A. Zeeb int iwl_phy_db_set_section(struct iwl_phy_db *phy_db,
18*bfcc09ddSBjoern A. Zeeb 			   struct iwl_rx_packet *pkt);
19*bfcc09ddSBjoern A. Zeeb 
20*bfcc09ddSBjoern A. Zeeb 
21*bfcc09ddSBjoern A. Zeeb int iwl_send_phy_db_data(struct iwl_phy_db *phy_db);
22*bfcc09ddSBjoern A. Zeeb 
23*bfcc09ddSBjoern A. Zeeb #endif /* __IWL_PHYDB_H__ */
24