\documentclass{standalone}
\usepackage{ga}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\input{../wt.tikz}
% Time on air and data rate for BW = 125 kHz (and 250 kHz at SF 7), CR = 4/5, 10-byte payload,
% computed with the Semtech time-on-air formula (8-symbol preamble, explicit header, CRC on,
% low data rate optimization at SF 11 and 12).
\begin{axis}[width=10cm, height=7cm, xmin=0, xmax=7, ymin=0, ymax=1100, axis y line*=left, axis x line*=bottom,
  xtick={0.5,1.5,...,6.5}, xticklabels={12,11,10,9,8,7,7}, xlabel={SF}, ylabel={ToA (ms)}, ylabel style={text=blue!70!black},
  ytick={0,200,...,1000}, yticklabel style={/pgf/number format/1000 sep={}}, grid=major, grid style={black!15}, tick style={black}]
\addplot[blue!70!black, line width=1.4pt, const plot] coordinates {(0,991.2) (1,991.2) (1,577.5) (2,577.5) (2,288.8) (3,288.8) (3,144.4) (4,144.4) (4,72.2) (5,72.2) (5,41.2) (6,41.2)};
\addplot[blue!70!black, line width=1.4pt, densely dashed] coordinates {(6,20.6) (7,20.6)};
\end{axis}
\begin{axis}[width=10cm, height=7cm, xmin=0, xmax=7, ymin=0, ymax=12, axis y line*=right, axis x line=none,
  ylabel={data rate (kbit/s)}, ylabel style={text=wtred}, ytick={0,1,...,11}]
\addplot[wtred, line width=1.4pt] coordinates {(0,0.293) (1,0.293) (1,0.537) (2,0.537) (2,0.977) (3,0.977) (3,1.758) (4,1.758) (4,3.125) (5,3.125) (5,5.469) (6,5.469)};
\addplot[orange, line width=1.4pt] coordinates {(6,10.938) (7,10.938)};
\node[font=\scriptsize\bfseries, text=wtred, anchor=south] at (axis cs:5.5,5.6) {125 kHz};
\node[font=\scriptsize\bfseries, text=orange, anchor=south] at (axis cs:6.5,11.0) {250 kHz};
\draw[<-, line width=1pt] (axis cs:0,11.6) -- node[above, font=\scriptsize\bfseries] {Distance} (axis cs:6,11.6);
\node[font=\scriptsize, align=left, anchor=north west, fill=white] at (axis cs:2.2,10.6) {BW = 125 kHz\\CR = 4/5\\Payload 10 bytes};
\end{axis}
\end{tikzpicture}
\end{document}
