aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192de/trx.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192de/trx.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
index 3637c0c33525..a7f6126e2f86 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c
@@ -1,6 +1,6 @@
1/****************************************************************************** 1/******************************************************************************
2 * 2 *
3 * Copyright(c) 2009-2010 Realtek Corporation. 3 * Copyright(c) 2009-2012 Realtek Corporation.
4 * 4 *
5 * This program is free software; you can redistribute it and/or modify it 5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as 6 * under the terms of version 2 of the GNU General Public License as
@@ -602,8 +602,8 @@ void rtl92de_tx_fill_desc(struct ieee80211_hw *hw,
602 EM_HDR_LEN); 602 EM_HDR_LEN);
603 if (ptcb_desc->empkt_num) { 603 if (ptcb_desc->empkt_num) {
604 RT_TRACE(rtlpriv, COMP_SEND, DBG_LOUD, 604 RT_TRACE(rtlpriv, COMP_SEND, DBG_LOUD,
605 ("Insert 8 byte.pTcb->EMPktNum:%d\n", 605 "Insert 8 byte.pTcb->EMPktNum:%d\n",
606 ptcb_desc->empkt_num)); 606 ptcb_desc->empkt_num);
607 _rtl92de_insert_emcontent(ptcb_desc, 607 _rtl92de_insert_emcontent(ptcb_desc,
608 (u8 *)(skb->data)); 608 (u8 *)(skb->data));
609 } 609 }
@@ -700,7 +700,7 @@ void rtl92de_tx_fill_desc(struct ieee80211_hw *hw,
700 if (ieee80211_is_data_qos(fc)) { 700 if (ieee80211_is_data_qos(fc)) {
701 if (mac->rdg_en) { 701 if (mac->rdg_en) {
702 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, 702 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
703 ("Enable RDG function.\n")); 703 "Enable RDG function\n");
704 SET_TX_DESC_RDG_ENABLE(pdesc, 1); 704 SET_TX_DESC_RDG_ENABLE(pdesc, 1);
705 SET_TX_DESC_HTC(pdesc, 1); 705 SET_TX_DESC_HTC(pdesc, 1);
706 } 706 }
@@ -726,7 +726,7 @@ void rtl92de_tx_fill_desc(struct ieee80211_hw *hw,
726 SET_TX_DESC_PKT_ID(pdesc, 8); 726 SET_TX_DESC_PKT_ID(pdesc, 8);
727 } 727 }
728 SET_TX_DESC_MORE_FRAG(pdesc, (lastseg ? 0 : 1)); 728 SET_TX_DESC_MORE_FRAG(pdesc, (lastseg ? 0 : 1));
729 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, ("\n")); 729 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, "\n");
730} 730}
731 731
732void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw, 732void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw,
@@ -776,7 +776,7 @@ void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw,
776 } 776 }
777 777
778 RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, 778 RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD,
779 "H2C Tx Cmd Content\n", pdesc, TX_DESC_SIZE); 779 "H2C Tx Cmd Content", pdesc, TX_DESC_SIZE);
780 wmb(); 780 wmb();
781 SET_TX_DESC_OWN(pdesc, 1); 781 SET_TX_DESC_OWN(pdesc, 1);
782} 782}
@@ -793,8 +793,8 @@ void rtl92de_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val)
793 SET_TX_DESC_NEXT_DESC_ADDRESS(pdesc, *(u32 *) val); 793 SET_TX_DESC_NEXT_DESC_ADDRESS(pdesc, *(u32 *) val);
794 break; 794 break;
795 default: 795 default:
796 RT_ASSERT(false, ("ERR txdesc :%d" 796 RT_ASSERT(false, "ERR txdesc :%d not process\n",
797 " not process\n", desc_name)); 797 desc_name);
798 break; 798 break;
799 } 799 }
800 } else { 800 } else {
@@ -813,8 +813,8 @@ void rtl92de_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val)
813 SET_RX_DESC_EOR(pdesc, 1); 813 SET_RX_DESC_EOR(pdesc, 1);
814 break; 814 break;
815 default: 815 default:
816 RT_ASSERT(false, ("ERR rxdesc :%d " 816 RT_ASSERT(false, "ERR rxdesc :%d not process\n",
817 "not process\n", desc_name)); 817 desc_name);
818 break; 818 break;
819 } 819 }
820 } 820 }
@@ -833,8 +833,8 @@ u32 rtl92de_get_desc(u8 *p_desc, bool istx, u8 desc_name)
833 ret = GET_TX_DESC_TX_BUFFER_ADDRESS(p_desc); 833 ret = GET_TX_DESC_TX_BUFFER_ADDRESS(p_desc);
834 break; 834 break;
835 default: 835 default:
836 RT_ASSERT(false, ("ERR txdesc :%d " 836 RT_ASSERT(false, "ERR txdesc :%d not process\n",
837 "not process\n", desc_name)); 837 desc_name);
838 break; 838 break;
839 } 839 }
840 } else { 840 } else {
@@ -847,8 +847,8 @@ u32 rtl92de_get_desc(u8 *p_desc, bool istx, u8 desc_name)
847 ret = GET_RX_DESC_PKT_LEN(pdesc); 847 ret = GET_RX_DESC_PKT_LEN(pdesc);
848 break; 848 break;
849 default: 849 default:
850 RT_ASSERT(false, ("ERR rxdesc :%d " 850 RT_ASSERT(false, "ERR rxdesc :%d not process\n",
851 "not process\n", desc_name)); 851 desc_name);
852 break; 852 break;
853 } 853 }
854 } 854 }