main.c (fc98e670adf81c20991740c2a7001f5e26541097) | main.c (8b8ab5c2353404b87b4ecde37dbaea2f040aec1b) |
---|---|
1// SPDX-License-Identifier: ISC 2 3#include <linux/etherdevice.h> 4#include <linux/platform_device.h> 5#include <linux/pci.h> 6#include <linux/module.h> 7#include "mt7603.h" 8#include "mac.h" --- 523 unchanged lines hidden (view full) --- 532 533 mt7603_mac_start(dev); 534 mutex_unlock(&dev->mt76.mutex); 535 536 return 0; 537} 538 539static void | 1// SPDX-License-Identifier: ISC 2 3#include <linux/etherdevice.h> 4#include <linux/platform_device.h> 5#include <linux/pci.h> 6#include <linux/module.h> 7#include "mt7603.h" 8#include "mac.h" --- 523 unchanged lines hidden (view full) --- 532 533 mt7603_mac_start(dev); 534 mutex_unlock(&dev->mt76.mutex); 535 536 return 0; 537} 538 539static void |
540mt7603_sw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 541 const u8 *mac) 542{ 543 struct mt7603_dev *dev = hw->priv; 544 545 set_bit(MT76_SCANNING, &dev->mt76.state); 546} 547 548static void 549mt7603_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) 550{ 551 struct mt7603_dev *dev = hw->priv; 552 553 clear_bit(MT76_SCANNING, &dev->mt76.state); 554} 555 556static void | |
557mt7603_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 558 u32 queues, bool drop) 559{ 560} 561 562static int 563mt7603_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 564 struct ieee80211_ampdu_params *params) --- 113 unchanged lines hidden (view full) --- 678 .add_interface = mt7603_add_interface, 679 .remove_interface = mt7603_remove_interface, 680 .config = mt7603_config, 681 .configure_filter = mt7603_configure_filter, 682 .bss_info_changed = mt7603_bss_info_changed, 683 .sta_state = mt76_sta_state, 684 .set_key = mt7603_set_key, 685 .conf_tx = mt7603_conf_tx, | 540mt7603_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 541 u32 queues, bool drop) 542{ 543} 544 545static int 546mt7603_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 547 struct ieee80211_ampdu_params *params) --- 113 unchanged lines hidden (view full) --- 661 .add_interface = mt7603_add_interface, 662 .remove_interface = mt7603_remove_interface, 663 .config = mt7603_config, 664 .configure_filter = mt7603_configure_filter, 665 .bss_info_changed = mt7603_bss_info_changed, 666 .sta_state = mt76_sta_state, 667 .set_key = mt7603_set_key, 668 .conf_tx = mt7603_conf_tx, |
686 .sw_scan_start = mt7603_sw_scan, 687 .sw_scan_complete = mt7603_sw_scan_complete, | 669 .sw_scan_start = mt76_sw_scan, 670 .sw_scan_complete = mt76_sw_scan_complete, |
688 .flush = mt7603_flush, 689 .ampdu_action = mt7603_ampdu_action, 690 .get_txpower = mt76_get_txpower, 691 .wake_tx_queue = mt76_wake_tx_queue, 692 .sta_rate_tbl_update = mt7603_sta_rate_tbl_update, 693 .release_buffered_frames = mt7603_release_buffered_frames, 694 .set_coverage_class = mt7603_set_coverage_class, 695 .set_tim = mt76_set_tim, --- 31 unchanged lines hidden --- | 671 .flush = mt7603_flush, 672 .ampdu_action = mt7603_ampdu_action, 673 .get_txpower = mt76_get_txpower, 674 .wake_tx_queue = mt76_wake_tx_queue, 675 .sta_rate_tbl_update = mt7603_sta_rate_tbl_update, 676 .release_buffered_frames = mt7603_release_buffered_frames, 677 .set_coverage_class = mt7603_set_coverage_class, 678 .set_tim = mt76_set_tim, --- 31 unchanged lines hidden --- |